From 5daef2ca1552ced6fcb7dab7e94fc0dbc27c56bd Mon Sep 17 00:00:00 2001 From: Andrew Leonard Date: Mon, 12 Feb 2024 19:14:38 +0000 Subject: [PATCH] Upgrade release tool gradle to run on jdk-21 and increase heap of app to 2g Signed-off-by: Andrew Leonard --- adopt-github-release/build.gradle | 5 +++-- .../gradle/wrapper/gradle-wrapper.properties | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/adopt-github-release/build.gradle b/adopt-github-release/build.gradle index 9de1703..d6e57f1 100644 --- a/adopt-github-release/build.gradle +++ b/adopt-github-release/build.gradle @@ -11,10 +11,11 @@ repositories { } application { mainClassName = 'net.adoptium.release.UploadFiles' + applicationDefaultJvmArgs = ['-Xmx2g'] } dependencies { - implementation 'org.codehaus.groovy:groovy-all:2.5.6' - implementation 'org.kohsuke:github-api:1.127' + implementation 'org.codehaus.groovy:groovy-all:3.0.20' + implementation 'org.kohsuke:github-api:1.318' compileOnly group: 'junit', name: 'junit', version: '4.12' } diff --git a/adopt-github-release/gradle/wrapper/gradle-wrapper.properties b/adopt-github-release/gradle/wrapper/gradle-wrapper.properties index e750102..a595206 100644 --- a/adopt-github-release/gradle/wrapper/gradle-wrapper.properties +++ b/adopt-github-release/gradle/wrapper/gradle-wrapper.properties @@ -1,5 +1,5 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists