aca74cef0e
See the previous commit for information on the kotlin-reflect vs kotlin-reflect-api distinction. Add kotlin-reflect as an explicit runtime dependency of most of the test configurations because even though they all depend on tests-common, the runtime dependency on kotlin-reflect is not exported from tests-common to other modules because the projectTests dependency is not transitive.
41 lines
1.0 KiB
Kotlin
41 lines
1.0 KiB
Kotlin
|
|
description = "Kotlin SourceSections Compiler Plugin"
|
|
|
|
apply { plugin("kotlin") }
|
|
|
|
dependencies {
|
|
compileOnly(project(":compiler:frontend"))
|
|
compileOnly(project(":compiler:frontend.script"))
|
|
compileOnly(project(":compiler:plugin-api"))
|
|
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(ideaSdkDeps("idea", "idea_rt", "openapi"))
|
|
testCompile(commonDep("junit:junit"))
|
|
testRuntime(projectDist(":kotlin-reflect"))
|
|
}
|
|
|
|
sourceSets {
|
|
"main" { projectDefault() }
|
|
"test" { projectDefault() }
|
|
}
|
|
|
|
projectTest {
|
|
workingDir = rootDir
|
|
}
|
|
|
|
runtimeJar()
|
|
sourcesJar()
|
|
javadocJar()
|
|
|
|
dist()
|
|
|
|
publish()
|