Files
kotlin-fork/plugins/kapt3/kapt3-compiler/build.gradle.kts
T
2018-01-30 17:06:17 +03:00

50 lines
1.2 KiB
Kotlin

description = "Annotation Processor for Kotlin"
apply { plugin("kotlin") }
dependencies {
testCompile(intellijCoreDep()) { includeJars("intellij-core") }
testRuntime(intellijDep())
testCompileOnly(intellijDep()) { includeJars("idea", "idea_rt", "openapi") }
compile(project(":compiler:util"))
compile(project(":compiler:cli"))
compile(project(":compiler:backend"))
compile(project(":compiler:frontend"))
compile(project(":compiler:frontend.java"))
compile(project(":compiler:plugin-api"))
compileOnly(project(":kotlin-annotation-processing-runtime"))
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
compileOnly(intellijDep()) { includeJars("asm-all") }
testCompile(project(":compiler:tests-common"))
testCompile(projectTests(":compiler:tests-common"))
testCompile(commonDep("junit:junit"))
testCompile(project(":kotlin-annotation-processing-runtime"))
}
sourceSets {
"main" { projectDefault() }
"test" { projectDefault() }
}
runtimeJar {
from(getSourceSetsFrom(":kotlin-annotation-processing-runtime")["main"].output.classesDirs)
}
testsJar {}
projectTest {
workingDir = rootDir
shouldRunAfter(":dist")
}
runtimeJar()
sourcesJar()
javadocJar()
dist()
publish()