File: libhamcrest-java-04-gradle-build.patch

package info (click to toggle)
jtreg7 7.5.1%2B1%2Bds1-3
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 51,224 kB
  • sloc: java: 409,123; xml: 8,266; sh: 1,966; ansic: 1,084; exp: 689; makefile: 387; javascript: 162; cpp: 120
file content (70 lines) | stat: -rw-r--r-- 2,114 bytes parent folder | download | duplicates (3)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Description: Changes the build to work with the version of Gradle in Debian
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: not-needed
--- a/libhamcrest-java/settings.gradle
+++ b/libhamcrest-java/settings.gradle
@@ -1,4 +1,3 @@
-enableFeaturePreview('STABLE_PUBLISHING')
 
 include 'hamcrest',
         'hamcrest-core',
--- a/libhamcrest-java/build.gradle
+++ b/libhamcrest-java/build.gradle
@@ -57,6 +57,7 @@
     }
 }
 
+/*
 def pomConfigurationFor(String pomName, String pomDescription) {
     return {
         name = pomName
@@ -91,6 +92,7 @@
         }
     }
 }
+*/
 
 def publishToOssrh = project.hasProperty('ossrhUsername') && project.hasProperty('ossrhPassword')
 
@@ -102,9 +104,6 @@
             artifactId hamcrestProject.name
             artifact hamcrestProject.sourcesJar
             artifact hamcrestProject.javadocJar
-            pom pomConfigurationFor(
-                    'Hamcrest',
-                    'Core API and libraries of hamcrest matcher framework.')
         }
 
         def hamcrestCoreProject = project(':hamcrest-core')
@@ -113,9 +112,6 @@
             artifactId hamcrestCoreProject.name
             artifact hamcrestCoreProject.sourcesJar
             artifact hamcrestCoreProject.javadocJar
-            pom pomConfigurationFor(
-                    'Hamcrest Core',
-                    'Core Hamcrest API - deprecated, please use "hamcrest" instead')
         }
 
         def hamcrestLibraryProject = project(':hamcrest-library')
@@ -124,9 +120,6 @@
             artifactId hamcrestLibraryProject.name
             artifact hamcrestLibraryProject.sourcesJar
             artifact hamcrestLibraryProject.javadocJar
-            pom pomConfigurationFor(
-                    'Hamcrest Library',
-                    'A library of Hamcrest matchers - deprecated, please use "hamcrest" instead')
         }
     }
     repositories {
@@ -144,9 +137,11 @@
     }
 }
 
+/*
 signing {
     required { publishToOssrh }
     sign publishing.publications.hamcrest
     sign publishing.publications.hamcrestCore
     sign publishing.publications.hamcrestLibrary
 }
+*/