Skip to content

Commit

Permalink
Merge pull request #4734 from udda1996/java_17_migration_tharinduu
Browse files Browse the repository at this point in the history
Add JRE with Java 17 support
  • Loading branch information
warunalakshitha authored Jul 20, 2023
2 parents 7da1fb8 + 7728ce0 commit 6250e4f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions ballerina/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ task unpackBallerinaJre(type: Download) {
"${jreBaseURL}/ballerina-jre-linux-64-${ballerinaJreVersion}.zip",
"${jreBaseURL}/ballerina-jre-macos-64-${ballerinaJreVersion}.zip",
"${jreBaseURL}/ballerina-jre-macos-arm-64-${ballerinaJreVersion}.zip",
"${jreBaseURL}/ballerina-jre-windows-64-${ballerinaJreVersion}.zip"
"${jreBaseURL}/ballerina-jre-win-64-${ballerinaJreVersion}.zip"
])
onlyIfModified true
dest "${jreLocation}"
Expand Down Expand Up @@ -168,7 +168,7 @@ task extractJreForMacArm(type: Copy) {

task extractJreForWindows(type: Copy) {
group = "extract_jre"
from zipTree { "${jreLocation}/ballerina-jre-windows-64-${ballerinaJreVersion}.zip" }
from zipTree { "${jreLocation}/ballerina-jre-win-64-${ballerinaJreVersion}.zip" }
into("${buildDir}/target/extracted-jre-windows")
}

Expand Down Expand Up @@ -415,7 +415,7 @@ task packageDistLinux(type: Zip) {
archiveFileName = "${parentDir}.zip"
entryCompression = ZipEntryCompression.DEFLATED

into("${parentDir}/dependencies/${dependencyJREVersion}") {
into("${parentDir}/dependencies") {
from "build/target/extracted-jre-linux"
fileMode = 0755
}
Expand Down Expand Up @@ -502,7 +502,7 @@ task packageDistMac(type: Zip) {
archiveFileName = "${parentDir}.zip"
entryCompression = ZipEntryCompression.DEFLATED

into("${parentDir}/dependencies/${dependencyJREVersion}") {
into("${parentDir}/dependencies") {
from "build/target/extracted-jre-macos"
fileMode = 0755
}
Expand Down Expand Up @@ -585,7 +585,7 @@ task packageDistMacArm(type: Zip) {
archiveFileName = "${parentDir}.zip"
entryCompression = ZipEntryCompression.DEFLATED

into("${parentDir}/dependencies/${dependencyJREVersion}") {
into("${parentDir}/dependencies") {
from "build/target/extracted-jre-macos-arm"
fileMode = 0755
}
Expand Down Expand Up @@ -668,7 +668,7 @@ task packageDistWindows(type: Zip) {
archiveFileName = "${parentDir}.zip"
entryCompression = ZipEntryCompression.DEFLATED

into("${parentDir}/dependencies/${dependencyJREVersion}") {
into("${parentDir}/dependencies") {
from "build/target/extracted-jre-windows"
fileMode = 0755
}
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version=2201.8.0-SNAPSHOT
codeName=swan-lake

ballerinaLangVersion=2201.7.0-20230702-003400-fc7f53c6
ballerinaJreVersion=1.1.0
ballerinaJreVersion=2.0.0
dependencyJREVersion=jdk-17.0.7+7-jre
specVersion=2023R1
slf4jVersion=1.7.30
Expand Down

0 comments on commit 6250e4f

Please sign in to comment.