diff --git a/tools/idea/jps-plugin/pom.xml b/tools/idea/jps-plugin/pom.xml
index 9e2a9ff80..a5be574e1 100644
--- a/tools/idea/jps-plugin/pom.xml
+++ b/tools/idea/jps-plugin/pom.xml
@@ -65,6 +65,12 @@
${idea.version}
provided
+
+ org.teavm.idea
+ platform-api
+ ${idea.version}
+ provided
+
org.teavm.idea
jps-builders
diff --git a/tools/idea/plugin/pom.xml b/tools/idea/plugin/pom.xml
index bdfef45be..0f572fce7 100644
--- a/tools/idea/plugin/pom.xml
+++ b/tools/idea/plugin/pom.xml
@@ -82,6 +82,12 @@
${idea.version}
provided
+
+ org.teavm.idea
+ platform-api
+ ${idea.version}
+ provided
+
org.teavm.idea
commons-logging