46 lines
1.3 KiB
Kotlin
46 lines
1.3 KiB
Kotlin
|
|
description = "Kotlin SourceSections Compiler Plugin"
|
|
|
|
apply { plugin("kotlin") }
|
|
apply { plugin("jps-compatible") }
|
|
|
|
|
|
dependencies {
|
|
compileOnly(project(":compiler:frontend"))
|
|
compileOnly(project(":compiler:frontend.script"))
|
|
compileOnly(project(":compiler:plugin-api"))
|
|
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
|
|
|
testCompile(project(":compiler:frontend"))
|
|
testCompile(project(":compiler:frontend.script"))
|
|
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:daemon-common"))
|
|
testCompile(project(":kotlin-daemon-client"))
|
|
testCompile(projectTests(":compiler:tests-common"))
|
|
testCompile(commonDep("junit:junit"))
|
|
testCompile(intellijCoreDep()) { includeJars("intellij-core") }
|
|
testCompile(intellijDep()) { includeJars("idea", "idea_rt", "openapi", "log4j", "jdom", "jps-model") }
|
|
testRuntime(projectDist(":kotlin-reflect"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
projectTest {
|
|
workingDir = rootDir
|
|
}
|
|
|
|
runtimeJar()
|
|
sourcesJar()
|
|
javadocJar()
|
|
|
|
dist()
|
|
|
|
publish()
|