Build: Use maven-publish in configurePublishing helper

This commit is contained in:
Vyacheslav Gerasimov
2020-04-26 15:47:27 +03:00
parent 94b4f4a91a
commit 8737168d41
16 changed files with 26 additions and 61 deletions
@@ -20,7 +20,8 @@ ext.pluginMarkerProject = { String pluginProjectId ->
// Remove the default JAR artifact added by the Java plugin
configurations.archives.artifacts.clear()
configurePublishing(project)
// TODO: Migrate to maven-publish publishing
configureLegacyPublishing(project)
task emptyJar(type: Jar)
@@ -17,11 +17,7 @@ dependencies {
compileOnly DependenciesKt.kotlinBuiltins(project)
}
artifacts {
archives sourcesJar
sources sourcesJar
}
configureSourcesJar()
configureJavadocJar()
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
+1 -2
View File
@@ -26,11 +26,10 @@ jar {
}
artifacts {
archives sourcesJar
sources sourcesJar
mainJar jar
}
configureSourcesJar()
configureJavadocJar()
compileKotlin {