Skip to content

Commit a85f106

Browse files
authored
Raise required Java version to 17 (#239)
1 parent 93f6300 commit a85f106

File tree

161 files changed

+171
-208
lines changed

Some content is hidden

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

161 files changed

+171
-208
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
uses: actions/setup-java@v4
1919
with:
2020
distribution: 'zulu'
21-
java-version: '8'
21+
java-version: '17'
2222
cache: 'maven'
2323
- name: Test
2424
run: ./mvnw $MAVEN_ARGS verify
@@ -35,7 +35,7 @@ jobs:
3535
uses: actions/setup-java@v4
3636
with:
3737
distribution: 'zulu'
38-
java-version: '8'
38+
java-version: '17'
3939
cache: 'maven'
4040
- name: Test with Sonar
4141
run: >

pom.xml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
<parent>
66
<groupId>org.assertj</groupId>
7-
<artifactId>assertj-parent-pom</artifactId>
8-
<version>2.2.14</version>
7+
<artifactId>assertj-parent</artifactId>
8+
<version>3.26.3</version>
99
</parent>
1010

1111
<artifactId>assertj-assertions-generator</artifactId>
@@ -21,8 +21,7 @@
2121
</scm>
2222

2323
<properties>
24-
<maven.compiler.source>1.8</maven.compiler.source>
25-
<maven.compiler.target>1.8</maven.compiler.target>
24+
<maven.compiler.release>17</maven.compiler.release>
2625
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
2726
<!-- Needed to properly bring in the Maven dependencies, see http://maven.apache.org/surefire/maven-surefire-plugin/examples/class-loading.html -->
2827
<surefire.useSystemClassLoader>false</surefire.useSystemClassLoader>
@@ -58,7 +57,7 @@
5857
<dependency>
5958
<groupId>ch.qos.logback</groupId>
6059
<artifactId>logback-classic</artifactId>
61-
<version>1.3.14</version>
60+
<version>1.4.14</version>
6261
</dependency>
6362
<!-- Test -->
6463
<dependency>

src/main/java/org/assertj/assertions/generator/AssertionGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
99
* specific language governing permissions and limitations under the License.
1010
*
11-
* Copyright 2012-2021 the original author or authors.
11+
* Copyright 2012-2024 the original author or authors.
1212
*/
1313
package org.assertj.assertions.generator;
1414

src/main/java/org/assertj/assertions/generator/AssertionsEntryPointGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
99
* specific language governing permissions and limitations under the License.
1010
*
11-
* Copyright 2012-2021 the original author or authors.
11+
* Copyright 2012-2024 the original author or authors.
1212
*/
1313
package org.assertj.assertions.generator;
1414

src/main/java/org/assertj/assertions/generator/AssertionsEntryPointType.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
99
* specific language governing permissions and limitations under the License.
1010
*
11-
* Copyright 2012-2021 the original author or authors.
11+
* Copyright 2012-2024 the original author or authors.
1212
*/
1313
package org.assertj.assertions.generator;
1414

src/main/java/org/assertj/assertions/generator/BaseAssertionGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
99
* specific language governing permissions and limitations under the License.
1010
*
11-
* Copyright 2012-2021 the original author or authors.
11+
* Copyright 2012-2024 the original author or authors.
1212
*/
1313
package org.assertj.assertions.generator;
1414

src/main/java/org/assertj/assertions/generator/DefaultTemplateRegistryProducer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
99
* specific language governing permissions and limitations under the License.
1010
*
11-
* Copyright 2012-2021 the original author or authors.
11+
* Copyright 2012-2024 the original author or authors.
1212
*/
1313
package org.assertj.assertions.generator;
1414

src/main/java/org/assertj/assertions/generator/GenerateAssertion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
99
* specific language governing permissions and limitations under the License.
1010
*
11-
* Copyright 2012-2021 the original author or authors.
11+
* Copyright 2012-2024 the original author or authors.
1212
*/
1313
package org.assertj.assertions.generator;
1414

src/main/java/org/assertj/assertions/generator/Template.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
99
* specific language governing permissions and limitations under the License.
1010
*
11-
* Copyright 2012-2021 the original author or authors.
11+
* Copyright 2012-2024 the original author or authors.
1212
*/
1313
/*
1414
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with

src/main/java/org/assertj/assertions/generator/TemplateRegistry.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the
99
* specific language governing permissions and limitations under the License.
1010
*
11-
* Copyright 2012-2021 the original author or authors.
11+
* Copyright 2012-2024 the original author or authors.
1212
*/
1313
package org.assertj.assertions.generator;
1414

0 commit comments

Comments
 (0)