|
|
|
|
@ -55,6 +55,13 @@ task javadocJar(type: Jar) {
@@ -55,6 +55,13 @@ task javadocJar(type: Jar) {
|
|
|
|
|
publishing { |
|
|
|
|
publications { |
|
|
|
|
mavenJava(MavenPublication) { |
|
|
|
|
from components.java |
|
|
|
|
artifact sourcesJar |
|
|
|
|
artifact javadocJar |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// Disable publication of test fixture artifacts. |
|
|
|
|
// |
|
|
|
|
// Once we upgrade to Gradle 6.x, we will need to delete the following line ... |
|
|
|
|
@ -62,10 +69,3 @@ publishing {
@@ -62,10 +69,3 @@ publishing {
|
|
|
|
|
// ... and uncomment the following two lines. |
|
|
|
|
// components.java.withVariantsFromConfiguration(configurations.testFixturesApiElements) { skip() } |
|
|
|
|
// components.java.withVariantsFromConfiguration(configurations.testFixturesRuntimeElements) { skip() } |
|
|
|
|
|
|
|
|
|
from components.java |
|
|
|
|
artifact sourcesJar |
|
|
|
|
artifact javadocJar |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|