File tree Expand file tree Collapse file tree 4 files changed +53
-3
lines changed
java-compiler-testing/src/it Expand file tree Collapse file tree 4 files changed +53
-3
lines changed Original file line number Diff line number Diff line change 2424 os-name : [ubuntu-latest]
2525 java-version :
2626 - GA # Latest GA JDK
27- # - EA # Current Mainline (lombok doesn't yet support)
27+ - EA # Current Mainline
2828 include :
2929 - os-name : macos-latest
3030 java-version : GA
4242 with :
4343 website : jdk.java.net
4444 release : ${{ matrix.java-version }}
45-
45+
4646 - name : Maven cache
4747 uses : actions/cache@v4
4848 env :
5151 path :
5252 ~/.m2
5353 key : build-${{ env.cache-name }}
54-
54+
5555 - name : Compile and run tests
5656 shell : bash
5757 run : ./mvnw -B -U clean verify
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2022 - 2024, the original author or authors.
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ // Use bsh rather than groovy since groovy does not support arbitrary JVM bytecode versions.
18+ if (Runtime.version().toString().toLowerCase().contains("ea")) {
19+ System.out.println("Error Prone does not support EA releases of the JDK.");
20+ return false;
21+ } else {
22+ System.out.println("Detected a GA release, proceeding");
23+ return true;
24+ }
Original file line number Diff line number Diff line change 1+ /*
2+ * Copyright (C) 2022 - 2024, the original author or authors.
3+ *
4+ * Licensed under the Apache License, Version 2.0 (the "License");
5+ * you may not use this file except in compliance with the License.
6+ * You may obtain a copy of the License at
7+ *
8+ * http://www.apache.org/licenses/LICENSE-2.0
9+ *
10+ * Unless required by applicable law or agreed to in writing, software
11+ * distributed under the License is distributed on an "AS IS" BASIS,
12+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+ * See the License for the specific language governing permissions and
14+ * limitations under the License.
15+ */
16+
17+ // Use bsh rather than groovy since groovy does not support arbitrary JVM bytecode versions.
18+ if (Runtime.version().toString().toLowerCase().contains("ea")) {
19+ System.out.println("Lombok does not support EA releases of the JDK.");
20+ return false;
21+ } else {
22+ System.out.println("Detected a GA release, proceeding");
23+ return true;
24+ }
Original file line number Diff line number Diff line change 609609 <include >**.yaml</include >
610610 <include >**/pom.xml</include >
611611 <include >**/security-suppressions.xml</include >
612+ <include >**/src/**/*.bsh</include >
612613 <include >**/src/**/*.groovy</include >
613614 <include >**/src/**/*.java</include >
614615 <include >**/src/it/settings.xml</include >
615616 </includes >
616617 </licenseSet >
617618 </licenseSets >
618619 <mapping >
620+ <bsh >SLASHSTAR_STYLE</bsh >
619621 <groovy >SLASHSTAR_STYLE</groovy >
620622 <java >SLASHSTAR_STYLE</java >
621623 <toml >SCRIPT_STYLE</toml >
You can’t perform that action at this time.
0 commit comments