Revert "[Build] Fix configuration cache issues with install task"
This reverts commit 078849d1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
apply plugin: 'kotlin'
|
||||
apply plugin: 'maven-publish'
|
||||
apply plugin: 'maven'
|
||||
apply plugin: 'jps-compatible'
|
||||
|
||||
repositories {
|
||||
@@ -38,19 +38,4 @@ dependencies {
|
||||
// Relocate `com.intellij.*` and some other classes to match those in the `kotlin-compiler-embeddable`
|
||||
// (for example, the actual package at runtime is `org.jetbrains.kotlin.com.intellij.*`):
|
||||
ArtifactsKt.runtimeJar(project, EmbeddableKt.rewriteDefaultJarDepsToShadedCompiler(project, {}), {})
|
||||
// In a standalone build, you can setup the relocation with the Shadow plugin.
|
||||
|
||||
publishing {
|
||||
publications {
|
||||
main(MavenPublication) {
|
||||
artifact tasks.named("embeddable")
|
||||
}
|
||||
}
|
||||
repositories {
|
||||
mavenLocal() // to workaround configuration cache issues with 'publishToMavenLocal' task
|
||||
}
|
||||
}
|
||||
|
||||
tasks.register("install") {
|
||||
dependsOn(tasks.named("publishAllPublicationsToMavenLocalRepository"))
|
||||
}
|
||||
// In a standalone build, you can setup the relocation with the Shadow plugin.
|
||||
Reference in New Issue
Block a user