Revert "[Build] Fix configuration cache issues with install task"
This reverts commit 078849d1
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
import org.jetbrains.kotlin.pill.PillExtension
|
||||
import plugins.configureKotlinPomAttributes
|
||||
|
||||
description = "Simple Annotation Processor for testing kapt"
|
||||
|
||||
plugins {
|
||||
kotlin("jvm")
|
||||
`maven-publish` // only used for installing to mavenLocal()
|
||||
maven // only used for installing to mavenLocal()
|
||||
id("jps-compatible")
|
||||
}
|
||||
|
||||
@@ -14,24 +13,9 @@ pill {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation(kotlinStdlib())
|
||||
compile(kotlinStdlib())
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
"test" {}
|
||||
}
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
create<MavenPublication>("main") {
|
||||
from(components["java"])
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
mavenLocal() // to workaround configuration cache issues with 'publishToMavenLocal' task
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("install") {
|
||||
dependsOn(tasks.named("publishAllPublicationsToMavenLocalRepository"))
|
||||
}
|
||||
Reference in New Issue
Block a user