Build: Remove explicit legacy maven plugin application
This commit is contained in:
@@ -1,23 +1,16 @@
|
||||
import org.gradle.api.artifacts.maven.Conf2ScopeMappingContainer.COMPILE
|
||||
|
||||
plugins {
|
||||
maven
|
||||
kotlin("jvm")
|
||||
id("jps-compatible")
|
||||
}
|
||||
|
||||
val mavenCompileScope by configurations.creating {
|
||||
the<MavenPluginConvention>()
|
||||
.conf2ScopeMappings
|
||||
.addMapping(0, this, COMPILE)
|
||||
}
|
||||
description = "Kotlin KLIB Library Commonizer"
|
||||
|
||||
publish()
|
||||
|
||||
configurations {
|
||||
runtimeOnly.get().extendsFrom(compileOnly.get())
|
||||
}
|
||||
|
||||
description = "Kotlin KLIB Library Commonizer"
|
||||
|
||||
dependencies {
|
||||
compileOnly(project(":compiler:cli-common"))
|
||||
compileOnly(project(":compiler:ir.serialization.common"))
|
||||
@@ -27,7 +20,7 @@ dependencies {
|
||||
compileOnly(intellijCoreDep()) { includeJars("intellij-core") }
|
||||
|
||||
// This dependency is necessary to keep the right dependency record inside of POM file:
|
||||
mavenCompileScope(project(":kotlin-compiler"))
|
||||
publishedCompile(project(":kotlin-compiler"))
|
||||
|
||||
api(kotlinStdlib())
|
||||
|
||||
@@ -50,6 +43,4 @@ projectTest(parallel = true) {
|
||||
workingDir = rootDir
|
||||
}
|
||||
|
||||
publish()
|
||||
|
||||
standardPublicJars()
|
||||
|
||||
Reference in New Issue
Block a user