diff --git a/build.gradle b/build.gradle index 358dfa75..0c6df6a4 100644 --- a/build.gradle +++ b/build.gradle @@ -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}" @@ -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") } diff --git a/gradle.properties b/gradle.properties index 76810a5e..794c2e9f 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 diff --git a/src/test/java/org/ballerinalang/distribution/UpdateToolTest.java b/src/test/java/org/ballerinalang/distribution/UpdateToolTest.java index 248c8131..fd4763e6 100644 --- a/src/test/java/org/ballerinalang/distribution/UpdateToolTest.java +++ b/src/test/java/org/ballerinalang/distribution/UpdateToolTest.java @@ -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"})