Add fastutil dependency for 202 and higher platforms
This commit is contained in:
committed by
Dmitriy Novozhilov
parent
f668e906cc
commit
2ee8bf7dde
@@ -34,6 +34,12 @@ dependencies {
|
|||||||
fatJarContents(intellijDep()) { includeJars("jna-platform") }
|
fatJarContents(intellijDep()) { includeJars("jna-platform") }
|
||||||
fatJarContentsStripServices(jpsStandalone()) { includeJars("jps-model") }
|
fatJarContentsStripServices(jpsStandalone()) { includeJars("jps-model") }
|
||||||
fatJarContentsStripMetadata(intellijDep()) { includeJars("oro", "jdom", "log4j", rootProject = rootProject) }
|
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
|
val jar: Jar by tasks
|
||||||
|
|||||||
Reference in New Issue
Block a user