Build: Fix artifacts signing for maven central
With gradle > 5.0 `publish()` helper call should be done before `noDefaultJar()` or any other artifact hacks, otherwise singing plugin doesn't sign any jars
This commit is contained in:
@@ -17,10 +17,10 @@ sourceSets {
|
||||
"test" {}
|
||||
}
|
||||
|
||||
publish()
|
||||
|
||||
runtimeJar()
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
|
||||
dist(targetName = "android-extensions-runtime.jar")
|
||||
|
||||
publish()
|
||||
|
||||
@@ -33,9 +33,10 @@ projectTest {
|
||||
dependsOn(":dist")
|
||||
}
|
||||
|
||||
publish()
|
||||
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
dist()
|
||||
publish()
|
||||
|
||||
testsJar()
|
||||
@@ -50,6 +50,8 @@ projectTest {
|
||||
dependsOn(":dist")
|
||||
}
|
||||
|
||||
publish()
|
||||
|
||||
runtimeJar {
|
||||
fromEmbeddedComponents()
|
||||
}
|
||||
@@ -58,5 +60,3 @@ sourcesJar()
|
||||
javadocJar()
|
||||
|
||||
dist()
|
||||
|
||||
publish()
|
||||
|
||||
@@ -16,10 +16,10 @@ sourceSets {
|
||||
"test" {}
|
||||
}
|
||||
|
||||
publish()
|
||||
|
||||
runtimeJar()
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
|
||||
dist(targetName = "kotlin-annotation-processing-runtime.jar")
|
||||
|
||||
publish()
|
||||
|
||||
@@ -23,13 +23,13 @@ sourceSets {
|
||||
"test" { projectDefault() }
|
||||
}
|
||||
|
||||
publish()
|
||||
|
||||
val jar = runtimeJar {}
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
testsJar {}
|
||||
|
||||
publish()
|
||||
|
||||
dist {
|
||||
rename("kotlin-", "")
|
||||
}
|
||||
|
||||
@@ -43,12 +43,12 @@ tasks.withType<org.jetbrains.kotlin.gradle.dsl.KotlinCompile<*>> {
|
||||
}
|
||||
}
|
||||
|
||||
publish()
|
||||
|
||||
val jar = runtimeJar {}
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
|
||||
publish()
|
||||
|
||||
dist()
|
||||
|
||||
ideaPlugin()
|
||||
|
||||
@@ -12,12 +12,15 @@ dependencies {
|
||||
packedJars(project(":kotlin-scripting-jvm")) { isTransitive = false }
|
||||
}
|
||||
|
||||
publish()
|
||||
|
||||
noDefaultJar()
|
||||
|
||||
runtimeJar(rewriteDepsToShadedCompiler(
|
||||
task<ShadowJar>("shadowJar") {
|
||||
from(packedJars)
|
||||
}
|
||||
))
|
||||
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
publish()
|
||||
|
||||
@@ -38,10 +38,10 @@ projectTest {
|
||||
workingDir = rootDir
|
||||
}
|
||||
|
||||
publish()
|
||||
|
||||
runtimeJar()
|
||||
sourcesJar()
|
||||
javadocJar()
|
||||
|
||||
dist()
|
||||
|
||||
publish()
|
||||
|
||||
Reference in New Issue
Block a user