Skip to content

Commit c2a31b0

Browse files
tooryxcopybara-github
authored andcommitted
Remove the Java{} stanza from all build.gradle file for simplicity.
PiperOrigin-RevId: 777435179 Change-Id: Ic5d3951e6ce20869b3048bcf55b20c5c9117a43e
1 parent 83bca91 commit c2a31b0

111 files changed

Lines changed: 4 additions & 3345 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

community/detectors/adobe_coldfusion_cve_2023_26360/build.gradle

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -15,37 +15,6 @@ repositories {
1515
mavenLocal()
1616
}
1717

18-
java {
19-
sourceCompatibility = JavaVersion.VERSION_11
20-
targetCompatibility = JavaVersion.VERSION_11
21-
22-
jar.manifest {
23-
attributes('Implementation-Title': name,
24-
'Implementation-Version': version,
25-
'Built-By': System.getProperty('user.name'),
26-
'Built-JDK': System.getProperty('java.version'),
27-
'Source-Compatibility': sourceCompatibility,
28-
'Target-Compatibility': targetCompatibility)
29-
}
30-
31-
javadoc.options {
32-
encoding = 'UTF-8'
33-
use = true
34-
links 'https://docs.oracle.com/javase/8/docs/api/'
35-
}
36-
37-
// Log stacktrace to console when test fails.
38-
test {
39-
testLogging {
40-
exceptionFormat = 'full'
41-
showExceptions true
42-
showCauses true
43-
showStackTraces true
44-
showStandardStreams true //ADDED
45-
}
46-
maxHeapSize = '1500m'
47-
}
48-
}
4918

5019
ext {
5120
tsunamiVersion = 'latest.release'

community/detectors/adselfservice_plus_cve_2021_40539/build.gradle

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,6 @@ repositories {
1515
mavenLocal()
1616
}
1717

18-
java {
19-
sourceCompatibility = JavaVersion.VERSION_11
20-
targetCompatibility = JavaVersion.VERSION_11
21-
22-
jar.manifest {
23-
attributes('Implementation-Title': name,
24-
'Implementation-Version': version,
25-
'Built-By': System.getProperty('user.name'),
26-
'Built-JDK': System.getProperty('java.version'),
27-
'Source-Compatibility': sourceCompatibility,
28-
'Target-Compatibility': targetCompatibility)
29-
}
30-
31-
javadoc.options {
32-
encoding = 'UTF-8'
33-
use = true
34-
links 'https://docs.oracle.com/javase/8/docs/api/'
35-
}
36-
37-
// Log stacktrace to console when test fails.
38-
test {
39-
testLogging {
40-
exceptionFormat = 'full'
41-
showExceptions true
42-
showCauses true
43-
showStackTraces true
44-
}
45-
maxHeapSize = '1500m'
46-
}
47-
}
4818

4919
ext {
5020
tsunamiVersion = 'latest.release'

community/detectors/anything_llm_cve_2024_3104/build.gradle

Lines changed: 1 addition & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,6 @@ repositories {
1515
mavenLocal()
1616
}
1717

18-
java {
19-
sourceCompatibility = JavaVersion.VERSION_11
20-
targetCompatibility = JavaVersion.VERSION_11
21-
22-
jar.manifest {
23-
attributes('Implementation-Title': name,
24-
'Implementation-Version': version,
25-
'Built-By': System.getProperty('user.name'),
26-
'Built-JDK': System.getProperty('java.version'),
27-
'Source-Compatibility': sourceCompatibility,
28-
'Target-Compatibility': targetCompatibility)
29-
}
30-
31-
javadoc.options {
32-
encoding = 'UTF-8'
33-
use = true
34-
links 'https://docs.oracle.com/javase/8/docs/api/'
35-
}
36-
37-
// Log stacktrace to console when test fails.
38-
test {
39-
testLogging {
40-
exceptionFormat = 'full'
41-
showExceptions true
42-
showCauses true
43-
showStackTraces true
44-
}
45-
maxHeapSize = '1500m'
46-
}
47-
}
4818

4919
ext {
5020
tsunamiVersion = 'latest.release'
@@ -65,4 +35,4 @@ dependencies {
6535
testImplementation "com.squareup.okhttp3:mockwebserver:${okhttpVersion}"
6636
testImplementation "com.google.truth.extensions:truth-java8-extension:${truthVersion}"
6737
testImplementation "com.google.truth.extensions:truth-proto-extension:${truthVersion}"
68-
}
38+
}

community/detectors/apache_activemq_cve_2023_46604/build.gradle

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -15,36 +15,6 @@ repositories {
1515
mavenLocal()
1616
}
1717

18-
java {
19-
sourceCompatibility = JavaVersion.VERSION_11
20-
targetCompatibility = JavaVersion.VERSION_11
21-
22-
jar.manifest {
23-
attributes('Implementation-Title': name,
24-
'Implementation-Version': version,
25-
'Built-By': System.getProperty('user.name'),
26-
'Built-JDK': System.getProperty('java.version'),
27-
'Source-Compatibility': sourceCompatibility,
28-
'Target-Compatibility': targetCompatibility)
29-
}
30-
31-
javadoc.options {
32-
encoding = 'UTF-8'
33-
use = true
34-
links 'https://docs.oracle.com/javase/8/docs/api/'
35-
}
36-
37-
// Log stacktrace to console when test fails.
38-
test {
39-
testLogging {
40-
exceptionFormat = 'full'
41-
showExceptions true
42-
showCauses true
43-
showStackTraces true
44-
}
45-
maxHeapSize = '1500m'
46-
}
47-
}
4818

4919
ext {
5020
tsunamiVersion = 'latest.release'

community/detectors/apache_airflow_cve_2020_17526/build.gradle

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -14,36 +14,6 @@ repositories {
1414
mavenLocal()
1515
}
1616

17-
java {
18-
sourceCompatibility = JavaVersion.VERSION_11
19-
targetCompatibility = JavaVersion.VERSION_11
20-
21-
jar.manifest {
22-
attributes('Implementation-Title': name,
23-
'Implementation-Version': version,
24-
'Built-By': System.getProperty('user.name'),
25-
'Built-JDK': System.getProperty('java.version'),
26-
'Source-Compatibility': sourceCompatibility,
27-
'Target-Compatibility': targetCompatibility)
28-
}
29-
30-
javadoc.options {
31-
encoding = 'UTF-8'
32-
use = true
33-
links 'https://docs.oracle.com/javase/8/docs/api/'
34-
}
35-
36-
// Log stacktrace to console when test fails.
37-
test {
38-
testLogging {
39-
exceptionFormat = 'full'
40-
showExceptions true
41-
showCauses true
42-
showStackTraces true
43-
}
44-
maxHeapSize = '1500m'
45-
}
46-
}
4717

4818
ext {
4919
tsunamiVersion = 'latest.release'

community/detectors/apache_airflow_exposed_ui/build.gradle

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -14,36 +14,6 @@ repositories {
1414
mavenLocal()
1515
}
1616

17-
java {
18-
sourceCompatibility = JavaVersion.VERSION_11
19-
targetCompatibility = JavaVersion.VERSION_11
20-
21-
jar.manifest {
22-
attributes('Implementation-Title': name,
23-
'Implementation-Version': version,
24-
'Built-By': System.getProperty('user.name'),
25-
'Built-JDK': System.getProperty('java.version'),
26-
'Source-Compatibility': sourceCompatibility,
27-
'Target-Compatibility': targetCompatibility)
28-
}
29-
30-
javadoc.options {
31-
encoding = 'UTF-8'
32-
use = true
33-
links 'https://docs.oracle.com/javase/8/docs/api/'
34-
}
35-
36-
// Log stacktrace to console when test fails.
37-
test {
38-
testLogging {
39-
exceptionFormat = 'full'
40-
showExceptions true
41-
showCauses true
42-
showStackTraces true
43-
}
44-
maxHeapSize = '1500m'
45-
}
46-
}
4717

4818
ext {
4919
tsunamiVersion = 'latest.release'

community/detectors/apache_apisix_cve_2022_24112/build.gradle

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -14,37 +14,6 @@ repositories {
1414
mavenLocal()
1515
}
1616

17-
java {
18-
sourceCompatibility = JavaVersion.VERSION_11
19-
targetCompatibility = JavaVersion.VERSION_11
20-
21-
jar.manifest {
22-
attributes('Implementation-Title': name,
23-
'Implementation-Version': version,
24-
'Built-By': System.getProperty('user.name'),
25-
'Built-JDK': System.getProperty('java.version'),
26-
'Source-Compatibility': sourceCompatibility,
27-
'Target-Compatibility': targetCompatibility)
28-
}
29-
30-
javadoc.options {
31-
encoding = 'UTF-8'
32-
use = true
33-
links 'https://docs.oracle.com/en/java/javase/11/'
34-
source = '11'
35-
}
36-
37-
// Log stacktrace to console when test fails.
38-
test {
39-
testLogging {
40-
exceptionFormat = 'full'
41-
showExceptions true
42-
showCauses true
43-
showStackTraces true
44-
}
45-
maxHeapSize = '1500m'
46-
}
47-
}
4817

4918
ext {
5019
tsunamiVersion = 'latest.release'

community/detectors/apache_apisix_default_token/build.gradle

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -14,37 +14,6 @@ repositories {
1414
mavenLocal()
1515
}
1616

17-
java {
18-
sourceCompatibility = JavaVersion.VERSION_11
19-
targetCompatibility = JavaVersion.VERSION_11
20-
21-
jar.manifest {
22-
attributes('Implementation-Title': name,
23-
'Implementation-Version': version,
24-
'Built-By': System.getProperty('user.name'),
25-
'Built-JDK': System.getProperty('java.version'),
26-
'Source-Compatibility': sourceCompatibility,
27-
'Target-Compatibility': targetCompatibility)
28-
}
29-
30-
javadoc.options {
31-
encoding = 'UTF-8'
32-
use = true
33-
links 'https://docs.oracle.com/en/java/javase/11/'
34-
source = '11'
35-
}
36-
37-
// Log stacktrace to console when test fails.
38-
test {
39-
testLogging {
40-
exceptionFormat = 'full'
41-
showExceptions true
42-
showCauses true
43-
showStackTraces true
44-
}
45-
maxHeapSize = '1500m'
46-
}
47-
}
4817

4918
ext {
5019
tsunamiVersion = 'latest.release'

community/detectors/apache_druid_preauth_rce_cve_2021_25646/build.gradle

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,6 @@ repositories {
1313
mavenLocal()
1414
}
1515

16-
java {
17-
sourceCompatibility = JavaVersion.VERSION_11
18-
targetCompatibility = JavaVersion.VERSION_11
19-
20-
jar.manifest {
21-
attributes('Implementation-Title': name,
22-
'Implementation-Version': version,
23-
'Built-By': System.getProperty('user.name'),
24-
'Built-JDK': System.getProperty('java.version'),
25-
'Source-Compatibility': sourceCompatibility,
26-
'Target-Compatibility': targetCompatibility)
27-
}
28-
29-
javadoc.options {
30-
encoding = 'UTF-8'
31-
use = true
32-
links 'https://docs.oracle.com/javase/8/docs/api/'
33-
}
34-
35-
// Log stacktrace to console when test fails.
36-
test {
37-
testLogging {
38-
exceptionFormat = 'full'
39-
showExceptions true
40-
showCauses true
41-
showStackTraces true
42-
}
43-
maxHeapSize = '1500m'
44-
}
45-
}
4616

4717
ext {
4818
okhttpVersion = '3.12.0'

community/detectors/apache_http_server_cve_2021_41773/build.gradle

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -13,36 +13,6 @@ repositories {
1313
mavenLocal()
1414
}
1515

16-
java {
17-
sourceCompatibility = JavaVersion.VERSION_11
18-
targetCompatibility = JavaVersion.VERSION_11
19-
20-
jar.manifest {
21-
attributes('Implementation-Title': name,
22-
'Implementation-Version': version,
23-
'Built-By': System.getProperty('user.name'),
24-
'Built-JDK': System.getProperty('java.version'),
25-
'Source-Compatibility': sourceCompatibility,
26-
'Target-Compatibility': targetCompatibility)
27-
}
28-
29-
javadoc.options {
30-
encoding = 'UTF-8'
31-
use = true
32-
links 'https://docs.oracle.com/javase/8/docs/api/'
33-
}
34-
35-
// Log stacktrace to console when test fails.
36-
test {
37-
testLogging {
38-
exceptionFormat = 'full'
39-
showExceptions true
40-
showCauses true
41-
showStackTraces true
42-
}
43-
maxHeapSize = '1500m'
44-
}
45-
}
4616

4717
ext {
4818
okhttpVersion = '3.12.0'

0 commit comments

Comments
 (0)