mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-03-10 08:31:29 +00:00
it conflicts with the compilation on daemon, so transistion should be planned accordingly, and now it is not a good time for it. The most important part of the renaming remains intact. Partially reverts commit "Rename scripting libs and plugin - invert embeddable suffix"
65 lines
1.9 KiB
Kotlin
65 lines
1.9 KiB
Kotlin
|
|
description = "Kotlin Scripting Compiler Plugin"
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":compiler:frontend"))
|
|
compileOnly(project(":compiler:frontend.java"))
|
|
compileOnly(project(":compiler:psi"))
|
|
compileOnly(project(":compiler:plugin-api"))
|
|
compileOnly(project(":compiler:cli"))
|
|
compileOnly(project(":compiler:backend.js"))
|
|
compileOnly(project(":core:descriptors.runtime"))
|
|
compile(project(":kotlin-scripting-common"))
|
|
compile(project(":kotlin-scripting-js"))
|
|
compile(project(":kotlin-util-klib"))
|
|
compile(project(":kotlin-scripting-jvm"))
|
|
compile(project(":kotlin-scripting-compiler-impl"))
|
|
compile(kotlinStdlib())
|
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
|
|
testCompile(project(":compiler:frontend"))
|
|
testCompile(project(":compiler:plugin-api"))
|
|
testCompile(project(":compiler:util"))
|
|
testCompile(project(":compiler:cli"))
|
|
testCompile(project(":compiler:cli-common"))
|
|
testCompile(project(":compiler:frontend.java"))
|
|
testCompile(project(":compiler:backend.js"))
|
|
testCompile(projectTests(":compiler:tests-common"))
|
|
testCompile(commonDep("junit:junit"))
|
|
|
|
testImplementation(intellijCoreDep()) { includeJars("intellij-core") }
|
|
testRuntimeOnly(intellijDep()) { includeJars("jps-model") }
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
|
|
kotlinOptions {
|
|
languageVersion = "1.3"
|
|
apiVersion = "1.3"
|
|
freeCompilerArgs += "-Xskip-metadata-version-check"
|
|
}
|
|
}
|
|
|
|
publish()
|
|
|
|
runtimeJar()
|
|
sourcesJar()
|
|
javadocJar()
|
|
|
|
testsJar()
|
|
|
|
projectTest(parallel = true) {
|
|
dependsOn(":dist")
|
|
workingDir = rootDir
|
|
systemProperty("kotlin.test.script.classpath", testSourceSet.output.classesDirs.joinToString(File.pathSeparator))
|
|
}
|