Kapt: Add runtime library, move all modules inside the 'kapt3' directory
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
|
||||
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"))
|
||||
testCompile(commonDep("junit:junit"))
|
||||
|
||||
compileOnly(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()
|
||||
Reference in New Issue
Block a user