Debian Codegraph @

debian/patches/gradle.patch

raw symbols SCIP
1 Authorscip-debian debian re2j 1.7+dfsg-1 re2j/patches/`gradle.patch`#Author.: Vincent Prat <[email protected]scip-debian . . . identity/`[email protected]`.>
2 Descriptionscip-debian debian re2j 1.7+dfsg-1 re2j/patches/`gradle.patch`#Description.: Fix Gradle configuration files to make them compatible with Debian
3 Forwardedscip-debian debian re2j 1.7+dfsg-1 re2j/patches/`gradle.patch`#Forwarded.: not-needed
4 --- a/build.gradlescip-debian debian re2j 1.7+dfsg-1 re2j/upstream/`build.gradle`:
5 +++ b/build.gradlescip-debian debian re2j 1.7+dfsg-1 re2j/upstream/`build.gradle`:
6 @@ -3,24 +3,24 @@
7 id 'java-library'
8 id 'wrapper'
9 id 'maven-publish'
10 - id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
11 - id 'com.github.sherter.google-java-format' version '0.3.2'
12 - id 'net.ltgt.errorprone' version '2.0.2'
13 +// id 'io.github.gradle-nexus.publish-plugin' version '1.1.0'
14 +// id 'com.github.sherter.google-java-format' version '0.3.2'
15 +// id 'net.ltgt.errorprone' version '2.0.2'
16 id 'idea'
17 id 'signing'
18
19 // code coverage support
20 - id 'net.saliman.cobertura' version '2.5.4'
21 +// id 'net.saliman.cobertura' version '2.5.4'
22
23 // Add license plugin. By default, this plugin only applies to the root
24 // project. Since we need license enforcement for benchmarks and the
25 // Unicode table generator, "apply false" specifies that the plugin should
26 // be downloaded and made available to Gradle, but not applied yet. See the
27 // allprojects section below for where this plugin is actually applied.
28 - id 'com.github.hierynomus.license' version '0.15.0' apply false
29 +// id 'com.github.hierynomus.license' version '0.15.0' apply false
30 }
31
32 -cobertura.coverageFormats = ['html', 'xml']
33 +//cobertura.coverageFormats = ['html', 'xml']
34
35 // The name of the release we're working on. See RELEASING.md for details.
36 group = "com.google.re2j"
37 @@ -34,7 +34,9 @@
38 targetCompatibility = 1.6
39
40 repositories {
41 - mavenCentral()
42 + maven {
43 + url "file:///usr/share/mave-repo"
44 + }
45 }
46
47 sourceSets {
48 @@ -81,8 +83,8 @@
49 }
50
51 dependencies {
52 - errorproneJavac 'com.google.errorprone:javac:9+181-r4173-1'
53 - errorprone 'com.google.errorprone:error_prone_core:2.10.0'
54 + //errorproneJavac 'com.google.errorprone:javac:9+181-r4173-1'
55 + //errorprone 'com.google.errorprone:error_prone_core:2.10.0'
56
57 testCompile 'junit:junit:4.12'
58 testCompile 'com.google.gwt:gwt-dev:2.9.0'
59 @@ -149,19 +151,19 @@
60 }
61
62 signing {
63 - useGpgCmd()
64 + //useGpgCmd()
65
66 - sign publishing.publications.mavenJava
67 + //sign publishing.publications.mavenJava
68 }
69
70 -nexusPublishing {
71 - repositories {
72 - sonatype {
73 - username = findProperty('sonatype.username')
74 - password = findProperty('sonatype.password')
75 - }
76 - }
77 -}
78 +//nexusPublishing {
79 +// repositories {
80 +// sonatype {
81 +// username = findProperty('sonatype.username')
82 +// password = findProperty('sonatype.password')
83 +// }
84 +// }
85 +//}
86
87 // If Java formatter checks fail, tell the user how to fix them.
88 task printFormatHelperMessage {
89 @@ -170,47 +172,50 @@
90 'Use ./gradlew googleJavaFormat to reformat the broken files')
91 }
92 }
93 -verifyGoogleJavaFormat.finalizedBy printFormatHelperMessage
94 -printFormatHelperMessage.onlyIf { verifyGoogleJavaFormat.state.failure != null }
95 +//verifyGoogleJavaFormat.finalizedBy printFormatHelperMessage
96 +//printFormatHelperMessage.onlyIf { verifyGoogleJavaFormat.state.failure != null }
97
98 -import com.hierynomus.gradle.license.tasks.LicenseCheck
99 +//import com.hierynomus.gradle.license.tasks.LicenseCheck
100
101 // By default, this plugin only applies to the root project. We apply it here
102 // manually to all projects so that even the subprojects receive license
103 // enforcement.
104 +//allprojects {
105 +// apply plugin: "license"
106 +//
107 +// license {
108 +// header rootProject.file('LICENSE.header')
109 +// ext.year = Calendar.getInstance().get(Calendar.YEAR)
110 +// strictCheck true
111 +// skipExistingHeaders true
112 +//
113 +// mapping {
114 +// // Without this, the plugin adds javadoc-style comments to the top
115 +// // of each Java source file.
116 +// java = 'SLASHSTAR_STYLE'
117 +// }
118 +//
119 +// include '**/*.gradle'
120 +// include '**/*.java'
121 +// include '**/*.xml'
122 +// include '**/*.pl'
123 +// }
124 +//
125 +// // Each license check task gets a new "help message" task to tell the
126 +// // user how to fix license violations.
127 +// tasks.withType(LicenseCheck) { checkTask ->
128 +// def helpMessageTask = task "${checkTask.name}HelpMessage" {
129 +// doLast {
130 +// throw new GradleException(
131 +// 'Some files lack an appropriate license header.\n' +
132 +// 'Run ./gradlew licenseFormat to add one.')
133 +// }
134 +// }
135 +//
136 +// checkTask.finalizedBy helpMessageTask
137 +// helpMessageTask.onlyIf { checkTask.state.failure != null }
138 +// }
139 allprojects {
140 - apply plugin: "license"
141 -
142 - license {
143 - header rootProject.file('LICENSE.header')
144 - ext.year = Calendar.getInstance().get(Calendar.YEAR)
145 - strictCheck true
146 - skipExistingHeaders true
147 -
148 - mapping {
149 - // Without this, the plugin adds javadoc-style comments to the top
150 - // of each Java source file.
151 - java = 'SLASHSTAR_STYLE'
152 - }
153 -
154 - include '**/*.gradle'
155 - include '**/*.java'
156 - include '**/*.xml'
157 - include '**/*.pl'
158 - }
159 -
160 - // Each license check task gets a new "help message" task to tell the
161 - // user how to fix license violations.
162 - tasks.withType(LicenseCheck) { checkTask ->
163 - def helpMessageTask = task "${checkTask.name}HelpMessage" {
164 - doLast {
165 - throw new GradleException(
166 - 'Some files lack an appropriate license header.\n' +
167 - 'Run ./gradlew licenseFormat to add one.')
168 - }
169 - }
170 -
171 - checkTask.finalizedBy helpMessageTask
172 - helpMessageTask.onlyIf { checkTask.state.failure != null }
173 - }
174 + group = 'com.google.re2j'
175 + version = "1.7"
176 }
177 --- a/unicode/build.gradlescip-debian debian re2j 1.7+dfsg-1 re2j/upstream/`unicode/build.gradle`:
178 +++ b/unicode/build.gradlescip-debian debian re2j 1.7+dfsg-1 re2j/upstream/`unicode/build.gradle`:
179 @@ -10,7 +10,7 @@
180 }
181
182 dependencies {
183 - compile 'com.google.googlejavaformat:google-java-format:1.0'
184 +// compile 'com.google.googlejavaformat:google-java-format:1.0'
185 compile 'com.squareup:javapoet:1.12.1'
186 compile 'com.ibm.icu:icu4j:4.8.2'
187 compile 'com.google.guava:guava:29.0-jre'