Build: Use maven-publish in configurePublishing helper
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -26,11 +26,10 @@ jar {
|
||||
}
|
||||
|
||||
artifacts {
|
||||
archives sourcesJar
|
||||
sources sourcesJar
|
||||
mainJar jar
|
||||
}
|
||||
|
||||
configureSourcesJar()
|
||||
configureJavadocJar()
|
||||
|
||||
compileKotlin {
|
||||
|
||||
Reference in New Issue
Block a user