Files
kotlin-fork/plugins/kapt3/kapt3-compiler/build.gradle.kts
T
Yan Zhulanow 6ca5787799 Kapt: Allow to ignore specific methods/fields from being put into kapt stubs
Classes can't be ignored yet as it requires to ignore also all type usages which is a non-trivial operation.
2017-12-01 22:53:18 +09:00

47 lines
1.0 KiB
Kotlin

description = "Annotation Processor for Kotlin"
apply { plugin("kotlin") }
dependencies {
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"))
testCompile(project(":compiler:tests-common"))
testCompile(projectTests(":compiler:tests-common"))
testCompile(ideaSdkDeps("idea", "idea_rt", "openapi"))
compileOnly(project(":kotlin-annotation-processing-runtime"))
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
dependsOnTaskIfExistsRec("dist", project = rootProject)
}
runtimeJar()
sourcesJar()
javadocJar()
dist()
publish()