74c697af92
that use new script definition and ability to load annotations from script definition
45 lines
1.1 KiB
Kotlin
45 lines
1.1 KiB
Kotlin
|
|
description = "Kotlin SamWithReceiver Compiler Plugin"
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
id("jps-compatible")
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly(project(":core:descriptors"))
|
|
compileOnly(project(":compiler:frontend"))
|
|
compileOnly(project(":compiler:frontend.java"))
|
|
compileOnly(project(":compiler:plugin-api"))
|
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
|
|
testCompile(project(":compiler:backend"))
|
|
testCompile(project(":compiler:cli"))
|
|
testCompile(projectTests(":compiler:tests-common"))
|
|
testCompile(commonDep("junit:junit"))
|
|
testCompileOnly(project(":kotlin-compiler"))
|
|
testCompile(project(":kotlin-scripting-jvm-host-unshaded"))
|
|
testRuntimeOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
|
|
Platform[192].orHigher {
|
|
testRuntimeOnly(intellijDep()) { includeJars("platform-concurrency") }
|
|
}
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
publish()
|
|
|
|
runtimeJar()
|
|
sourcesJar()
|
|
javadocJar()
|
|
testsJar()
|
|
|
|
projectTest(parallel = true) {
|
|
dependsOn(":dist")
|
|
workingDir = rootDir
|
|
}
|