diff --git a/.github/workflows/build-timestamped-master.yml b/.github/workflows/build-timestamped-master.yml index 7be9403..a66b465 100644 --- a/.github/workflows/build-timestamped-master.yml +++ b/.github/workflows/build-timestamped-master.yml @@ -13,11 +13,11 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: distribution: 'adopt' - java-version: 17.0.7 + java-version: 21 - name: Change to Timestamped Version run: | startTime=$(TZ="Asia/Kolkata" date +'%Y%m%d-%H%M00') diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index 914474b..2041f80 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -11,11 +11,11 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: distribution: 'adopt' - java-version: 17.0.7 + java-version: 21 - name: Build with Gradle env: packageUser: ${{ github.actor }} diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 4978731..412874e 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -9,11 +9,11 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: distribution: 'adopt' - java-version: 17.0.7 + java-version: 21 - name: Build with Gradle env: packageUser: ${{ github.actor }} @@ -29,11 +29,11 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: distribution: 'adopt' - java-version: 17.0.7 + java-version: 21 - name: Build with Gradle env: packageUser: ${{ github.actor }} @@ -49,11 +49,11 @@ jobs: steps: - name: Checkout Repository uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: distribution: 'adopt' - java-version: 17.0.7 + java-version: 21 - name: Build with Gradle env: packageUser: ${{ github.actor }} diff --git a/.github/workflows/trivy-scan.yml b/.github/workflows/trivy-scan.yml index 9ca642a..42c2b13 100644 --- a/.github/workflows/trivy-scan.yml +++ b/.github/workflows/trivy-scan.yml @@ -11,11 +11,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: distribution: 'adopt' - java-version: 17.0.7 + java-version: 21 - name: Build with Gradle env: packageUser: ${{ github.actor }} diff --git a/README.md b/README.md index 884bb2d..c4b764d 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ This module contains internal configurations and initializations for Ballerina o ### Set Up the prerequisites -1. Download and install Java SE Development Kit (JDK) version 17 (from one of the following locations). +1. Download and install Java SE Development Kit (JDK) version 21 (from one of the following locations). * [Oracle](https://www.oracle.com/java/technologies/downloads/) diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index 20d3601..66bf798 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -4,8 +4,8 @@ name = "observe" version = "1.3.0" distribution = "2201.10.0" -[platform.java17] +[platform.java21] graalvmCompatible = true -[[platform.java17.dependency]] +[[platform.java21.dependency]] path = "../native/build/libs/observe-internal-native-1.3.0.jar" diff --git a/build-config/resources/Ballerina.toml b/build-config/resources/Ballerina.toml index bf293d5..c2c9ac9 100644 --- a/build-config/resources/Ballerina.toml +++ b/build-config/resources/Ballerina.toml @@ -4,8 +4,8 @@ name = "observe" version = "@toml.version@" distribution = "2201.10.0" -[platform.java17] +[platform.java21] graalvmCompatible = true -[[platform.java17.dependency]] +[[platform.java21.dependency]] path = "../native/build/libs/observe-internal-native-@project.version@.jar" diff --git a/build-config/resources/testobserve/Ballerina.toml b/build-config/resources/testobserve/Ballerina.toml index edac22b..3d50a76 100644 --- a/build-config/resources/testobserve/Ballerina.toml +++ b/build-config/resources/testobserve/Ballerina.toml @@ -3,5 +3,5 @@ org = "ballerina" name = "testobserve" version = "0.0.0" -[[platform.java17.dependency]] +[[platform.java21.dependency]] path = "../native/build/libs/testobserve-native-@project.version@-all.jar" diff --git a/gradle.properties b/gradle.properties index 5839fa6..3dd18d0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,7 +16,7 @@ org.gradle.caching=true group=io.ballerina version=1.3.1-SNAPSHOT -ballerinaLangVersion=2201.10.0 +ballerinaLangVersion=2201.10.0-20241002-115300-57eee14c ballerinaTomlParserVersion=1.2.2 ballerinaGradlePluginVersion=2.0.1 puppycrawlCheckstyleVersion=10.12.0 diff --git a/testobserve/ballerina/Ballerina.toml b/testobserve/ballerina/Ballerina.toml index bd1e941..ca2c9e4 100644 --- a/testobserve/ballerina/Ballerina.toml +++ b/testobserve/ballerina/Ballerina.toml @@ -3,5 +3,5 @@ org = "ballerina" name = "testobserve" version = "0.0.0" -[[platform.java17.dependency]] +[[platform.java21.dependency]] path = "../native/build/libs/testobserve-native-1.3.0-SNAPSHOT-all.jar"