diff --git a/tools/idea/idea-artifacts/dep-pom.xml b/tools/idea/idea-artifacts/dep-pom.xml
index 7ce219eb0..dc5613a59 100644
--- a/tools/idea/idea-artifacts/dep-pom.xml
+++ b/tools/idea/idea-artifacts/dep-pom.xml
@@ -274,6 +274,17 @@
jps-model
+
+ platform-api
+
+ install-file
+
+ prepare-package
+
+ dependencies/idea/lib/platform-api.jar
+ platform-api
+
+
jps-builders
diff --git a/tools/idea/jps-common/pom.xml b/tools/idea/jps-common/pom.xml
index 8bc76a79d..f8f9da12c 100644
--- a/tools/idea/jps-common/pom.xml
+++ b/tools/idea/jps-common/pom.xml
@@ -65,6 +65,12 @@
${idea.version}
provided
+
+ org.teavm.idea
+ platform-api
+ ${idea.version}
+ provided
+
org.teavm.idea
jps-builders