Skip to content

Commit

Permalink
Add fastutil dependency for 202 and higher platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
PavelPunegov authored and demiurg906 committed Nov 28, 2020
1 parent f668e90 commit 2ee8bf7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions include/kotlin-compiler/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@ dependencies {
fatJarContents(intellijDep()) { includeJars("jna-platform") }
fatJarContentsStripServices(jpsStandalone()) { includeJars("jps-model") }
fatJarContentsStripMetadata(intellijDep()) { includeJars("oro", "jdom", "log4j", rootProject = rootProject) }

if (Platform.P202()) {
fatJarContents(intellijDep()) { includeJars("intellij-deps-fastutil-8.3.1-1") }
} else if (Platform.P203.orHigher()) {
fatJarContents(intellijDep()) { includeJars("intellij-deps-fastutil-8.3.1-3") }
}
}

val jar: Jar by tasks
Expand Down

0 comments on commit 2ee8bf7

Please sign in to comment.