80a68ec433
#KTI-759 Fixed
33 lines
563 B
Kotlin
33 lines
563 B
Kotlin
import org.jetbrains.kotlin.pill.PillExtension
|
|
|
|
description = "Simple Annotation Processor for testing kapt"
|
|
|
|
plugins {
|
|
kotlin("jvm")
|
|
`maven-publish` // only used for installing to mavenLocal()
|
|
id("jps-compatible")
|
|
}
|
|
|
|
pill {
|
|
variant = PillExtension.Variant.FULL
|
|
}
|
|
|
|
dependencies {
|
|
api(kotlinStdlib())
|
|
}
|
|
|
|
sourceSets {
|
|
"test" {}
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
create<MavenPublication>("main") {
|
|
from(components["java"])
|
|
}
|
|
}
|
|
}
|
|
|
|
tasks.register("install") {
|
|
dependsOn(tasks.named("publishToMavenLocal"))
|
|
} |