Skip to content

Commit 5d3a464

Browse files
authored
build: support java 21 vs SecurityManager changes (#175)
Configure ANT to WARN about the SecurityManager instead of producing an error that breaks the build. Fixes: #173
1 parent 2c84d5f commit 5d3a464

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,8 @@ Gemfile.lock
33
.bundle
44
vendor
55
derby.log
6+
build
7+
.ci/
8+
checkpoint.sha
9+
.gradle
10+
.idea

gradle.properties

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
org.gradle.daemon=false
1+
org.gradle.daemon=false
2+
3+
# Configure Ant to WARN (instead of error) when SecurityManager is not available
4+
systemProp.ant.securitymanager.usage.warn=true

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.1-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

0 commit comments

Comments
 (0)