Skip to content

Commit

Permalink
Merge branch 'build-improvements'
Browse files Browse the repository at this point in the history
  • Loading branch information
jqno committed Dec 12, 2024
2 parents f65e34b + 477cd01 commit 407cb42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,25 +20,25 @@ jobs:
cache-id: "jdk8"
java: 8
dist: temurin
flags: ""
flags: "-DdisableStaticAnalysis"
- title: "Supported JDK 11"
experimental: false
cache-id: "jdk11"
java: 11
dist: temurin
flags: ""
flags: "-DdisableStaticAnalysis"
- title: "Supported JDK 17"
experimental: false
cache-id: "jdk17"
java: 17
dist: temurin
flags: ""
flags: "-DdisableStaticAnalysis"
- title: "Supported JDK 21"
experimental: false
cache-id: "jdk21"
java: 21
dist: temurin
flags: ""
flags: "-DdisableStaticAnalysis"
- title: "Supported JDK 23"
experimental: false
cache-id: "jdk23"
Expand Down
14 changes: 4 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -53,17 +53,18 @@
</issueManagement>

<properties>
<encoding>UTF-8</encoding>
<version.java.base>8</version.java.base>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<maven.javadoc.skip>true</maven.javadoc.skip>
<maven.source.skip>true</maven.source.skip>
<maven.install.skip>true</maven.install.skip>
<maven.deploy.skip>true</maven.deploy.skip>

<argline.module />
<argline.preview />
<argline.experimental />
<argline.full>${argline.module} ${argline.preview} ${argline.experimental}</argline.full>
<argline.full>${argline.preview} ${argline.experimental}</argline.full>

<analysis.jacoco.threshold>0.95</analysis.jacoco.threshold>
<analysis.checkstyle.config>build/checkstyle-config.xml</analysis.checkstyle.config>
Expand Down Expand Up @@ -233,16 +234,11 @@
<profile>
<id>static-analysis</id>
<activation>
<jdk>[21,)</jdk>
<property>
<name>!disableStaticAnalysis</name>
</property>
</activation>

<properties>
<argline.module>--illegal-access=deny</argline.module>
</properties>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -387,7 +383,6 @@
<!-- This profile exists for Checkstyle's regression CI: see issues 216 and 586 -->
<id>static-analysis-checkstyle</id>
<activation>
<jdk>[17,)</jdk>
<property>
<name>!disableStaticAnalysis</name>
</property>
Expand All @@ -409,7 +404,6 @@
<configuration>
<configLocation>${analysis.checkstyle.config}</configLocation>
<includeTestSourceDirectory>true</includeTestSourceDirectory>
<encoding>UTF-8</encoding>
<linkXRef>false</linkXRef>
<consoleOutput>true</consoleOutput>
</configuration>
Expand Down

0 comments on commit 407cb42

Please sign in to comment.