Standard Projects
checkstyle
git
https://github.com/checkstyle/checkstyle
checkstyle-9.1
.*/target/test-classes/com/puppycrawl/tools/checkstyle/.*
.*/target/generated-sources/.*
.*/src/test/resources-noncompilable/com/puppycrawl/tools/checkstyle/javaparser/InputJavaParserNoFreezeOnDeeplyNestedLambdas.java
echo -n "$(pwd)/target/classes:$(pwd)/target/test-classes:"; cat classpath.txt
spring-framework
git
https://github.com/spring-projects/spring-framework
v5.3.13
.*/build/generated-sources/.*
ann) {
- return determineRequiredStatus(
+ // Cast to (AnnotationAttributes) is required. Otherwise, the :spring-beans:compileGroovy
+ // task fails in the Gradle build.
+ return determineRequiredStatus((AnnotationAttributes)
ann.asMap(mergedAnnotation -> new AnnotationAttributes(mergedAnnotation.getType())));
}
EOF
) | patch --strip=1
# Patch 2: Ignore compiler warnings
(cat < {
COMPILER_ARGS.addAll(commonCompilerArgs);
COMPILER_ARGS.addAll(Arrays.asList(
"-Xlint:varargs", "-Xlint:fallthrough", "-Xlint:rawtypes", "-Xlint:deprecation",
- "-Xlint:unchecked", "-Werror"
+ "-Xlint:unchecked"//, "-Werror"
));
TEST_COMPILER_ARGS = new ArrayList<>();
TEST_COMPILER_ARGS.addAll(commonCompilerArgs);
diff --git a/spring-beans/spring-beans.gradle b/spring-beans/spring-beans.gradle
index e3f6f73b76..48c4d9e3fb 100644
--- a/spring-beans/spring-beans.gradle
+++ b/spring-beans/spring-beans.gradle
@@ -23,7 +23,7 @@ sourceSets {
}
compileGroovy {
- options.compilerArgs += "-Werror"
+// options.compilerArgs += "-Werror"
}
// This module also builds Kotlin code and the compileKotlin task naturally depends on
EOF
) | patch --strip=1
# Patch 3: Add task createSquishClasspath
(cat <
}
repositories {
mavenCentral()
+ maven { url "https://maven.repository.redhat.com/ga/" }
maven { url "https://repo.spring.io/libs-spring-framework-build" }
}
}
EOF
) | patch --strip=1
./gradlew --console=plain --build-cache --no-daemon --max-workers=4 build testClasses -x test -x javadoc -x api -x asciidoctor -x asciidoctorPdf
./gradlew --console=plain --build-cache --no-daemon --max-workers=4 createSquishClasspath -q > classpath.txt
]]>
cat classpath.txt
openjdk-11
git
https://github.com/openjdk/jdk
jdk-11+28
src/java.base
Schedul-o-matic-9000
git
https://github.com/SalesforceLabs/Schedul-o-matic-9000
6b1229ba43b38931fbbab5924bc9b9611d19a786
fflib-apex-common
git
https://github.com/apex-enterprise-patterns/fflib-apex-common
7e0891efb86d23de62811af56d87d0959082a322
apex-link
git
https://github.com/nawforce/apex-link
v2.3.0
samples
java-regression-tests
git
https://github.com/pmd/java-regression-tests
main
realpath java-regression-tests-*.jar