b5ee0e8222
Module targeting jvm 1.6 can't depend on jvm 8 one. In Gradle 6.5 this behaviour is enforced by configuration error.
35 lines
919 B
Kotlin
35 lines
919 B
Kotlin
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
publish()
|
|
|
|
dependencies {
|
|
compile(project(":kotlin-script-runtime"))
|
|
compile(kotlinStdlib())
|
|
compile(project(":kotlin-scripting-common"))
|
|
compile(project(":kotlin-scripting-jvm"))
|
|
compileOnly(project(":kotlin-scripting-compiler"))
|
|
compileOnly(project(":compiler:cli"))
|
|
compileOnly(project(":kotlin-reflect-api"))
|
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
publishedRuntime(project(":kotlin-compiler"))
|
|
publishedRuntime(project(":kotlin-scripting-compiler"))
|
|
publishedRuntime(project(":kotlin-reflect"))
|
|
publishedRuntime(commonDep("org.jetbrains.intellij.deps", "trove4j"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" {}
|
|
}
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
|
|
kotlinOptions.freeCompilerArgs += "-Xallow-kotlin-package"
|
|
}
|
|
|
|
standardPublicJars()
|
|
|