mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-12-27 10:57:28 +00:00
Revert removal of --release 17
See gh-2133
This commit is contained in:
parent
8f08b38f2c
commit
fc1c7490ed
2 changed files with 3 additions and 1 deletions
|
|
@ -78,6 +78,7 @@ checkstyleNohttp {
|
|||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
options.release = 17
|
||||
options.errorprone {
|
||||
disableAllChecks = true
|
||||
}
|
||||
|
|
|
|||
3
pom.xml
3
pom.xml
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
<!-- Generic properties -->
|
||||
<java.version>25</java.version>
|
||||
<maven.compiler.release>17</maven.compiler.release>
|
||||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
||||
<!-- Important for reproducible builds. Update using e.g. ./mvnw versions:set -DnewVersion=... -->
|
||||
|
|
@ -289,10 +290,10 @@
|
|||
<executions>
|
||||
<execution>
|
||||
<id>default-compile</id>
|
||||
<phase>compile</phase>
|
||||
<goals>
|
||||
<goal>compile</goal>
|
||||
</goals>
|
||||
<phase>compile</phase>
|
||||
<configuration>
|
||||
<compilerArgs>
|
||||
<arg>-XDcompilePolicy=simple</arg>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue