1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54
|
Description: Ignore the release tasks
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/build.gradle
+++ b/build.gradle
@@ -25,11 +25,9 @@
apply plugin: 'base'
archivesBaseName = "mockito-core"
-apply plugin: "org.shipkit.java"
allprojects {
plugins.withId("java") {
//Only upload specific modules we select
- bintrayUpload.enabled = false
}
}
@@ -114,19 +112,3 @@
}
-//workaround for #1444, delete when Shipkit bug is fixed
-subprojects {
- eclipse {
- project {
- name = rootProject.name + '-' + project.name
- }
- }
-
- afterEvaluate {
- def lib = publishing.publications.javaLibrary
- if(lib && !lib.artifactId.startsWith("mockito-")) {
- lib.artifactId = "mockito-" + lib.artifactId
- }
- }
-}
-//end workaround
--- a/gradle/java-library.gradle
+++ b/gradle/java-library.gradle
@@ -6,14 +6,7 @@
archivesBaseName = "mockito-" + project.name
}
-generatePomFileForJavaLibraryPublication.doLast {
- //validates the the pom has correct artifact id to avoid issues like #1444
- def pom = new XmlSlurper().parse(destination)
- assert pom.artifactId == archivesBaseName
- assert pom.name == archivesBaseName
-}
-bintrayUpload.enabled = true
sourceCompatibility = 1.8
targetCompatibility = 1.8
|