[Gradle] Provide JNA jar to compiler classpath with intellij-core 203+

#KT-47748 Fixed
This commit is contained in:
Alexander Likhachev
2021-07-15 13:48:35 +03:00
parent da1d49e622
commit 1a77b57a7b
3 changed files with 7 additions and 1 deletions
@@ -26,6 +26,9 @@ dependencies {
runtimeOnly(project(":kotlin-reflect"))
runtimeOnly(project(":kotlin-daemon-embeddable"))
runtimeOnly(commonDep("org.jetbrains.intellij.deps", "trove4j"))
Platform[203].orHigher {
runtimeOnly(commonDep("net.java.dev.jna", "jna"))
}
testCompile(commonDep("junit:junit"))
testCompile(project(":kotlin-test:kotlin-test-junit"))
testCompilationClasspath(kotlinStdlib())