Skip to content

Commit

Permalink
Update gradle.properties with latest release versions
Browse files Browse the repository at this point in the history
  • Loading branch information
udda1996 committed Sep 25, 2023
1 parent cd01a7f commit 95490c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ task unpackBallerinaJre(type: Download) {
"${jreBaseURL}/ballerina-jre-linux-64-${project.ballerinaJreVersion}.zip",
"${jreBaseURL}/ballerina-jre-macos-64-${project.ballerinaJreVersion}.zip",
"${jreBaseURL}/ballerina-jre-macos-arm-64-${project.ballerinaJreVersion}.zip",
"${jreBaseURL}/ballerina-jre-windows-64-${project.ballerinaJreVersion}.zip"
"${jreBaseURL}/ballerina-jre-win-64-${project.ballerinaJreVersion}.zip"
])
onlyIfModified true
dest "${jreLocation}"
Expand Down Expand Up @@ -113,7 +113,7 @@ task extractJreForMacARM(type: Copy) {
task extractJreForWindows(type: Copy) {
dependsOn unpackBallerinaJre
group = "extract_jre"
from zipTree { "${jreLocation}/ballerina-jre-windows-64-${project.ballerinaJreVersion}.zip" }
from zipTree { "${jreLocation}/ballerina-jre-win-64-${project.ballerinaJreVersion}.zip" }
into("${buildDir}/target/extracted-jre-windows")
}

Expand Down
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
group=org.ballerinalang
version=1.4.1-SNAPSHOT
ballerinaJreVersion=1.1.0
ballerinaJreVersion=2.0.0
jreVersion=17.0.7+7

# For test purpose
swan-lake-version=2201.2.0
swan-lake-spec-version=2022R3
swan-lake-latest-version=2201.7.2
swan-lake-latest-version=2201.8.0
swan-lake-latest-spec-version=2023R1
1-x-channel-version=1.2.0
1-x-channel-spec-version=2020R1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,8 @@ public void projectTestWithLatestSpec() throws IOException, InterruptedException
args.remove(args.size() - 1);
args.add("run");
output = TestUtils.executeCommand(args, projectPath);
Assert.assertTrue(output.contains("Hello, World!"));
Assert.assertTrue(output.contains("Hello, World!"), output);
System.out.println(output);
}

@Test(description = "Test dist list command.", dependsOnMethods = {"testUseCommand"})
Expand Down

0 comments on commit 95490c6

Please sign in to comment.