Build: Remove explicit legacy maven plugin application

This commit is contained in:
Vyacheslav Gerasimov
2020-04-24 15:52:00 +03:00
parent 410c5f3e69
commit b85b733e42
6 changed files with 23 additions and 17 deletions
+4 -13
View File
@@ -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()