From deff2f607d9660a3bcdfeef69800db2ff0ebf121 Mon Sep 17 00:00:00 2001 From: ravinperera00 Date: Sun, 17 Nov 2024 13:02:47 +0530 Subject: [PATCH] Migrate to Java 21 and new Runtime APIS --- .../workflows/build-timestamped-master.yml | 4 +- .../workflows/dev-stage-central-publish.yml | 4 +- .github/workflows/publish-release.yml | 4 +- .github/workflows/pull-request.yml | 4 +- .gitignore | 3 - .idea/workspace.xml | 69 ++++ README.md | 2 +- build-config/resources/Ballerina.toml | 2 +- edi-tools-cli/build.gradle | 2 +- edi-tools-package/Dependencies.toml | 45 +++ edi-tools-tests/Ballerina.toml | 2 +- edi-tools-tests/Dependencies.toml | 157 ++++++++ edi-tools/Ballerina.toml | 2 +- edi-tools/Dependencies.toml | 362 ++++++++++++++++++ gradle.properties | 18 +- 15 files changed, 655 insertions(+), 25 deletions(-) create mode 100644 .idea/workspace.xml create mode 100644 edi-tools-package/Dependencies.toml create mode 100644 edi-tools-tests/Dependencies.toml create mode 100644 edi-tools/Dependencies.toml diff --git a/.github/workflows/build-timestamped-master.yml b/.github/workflows/build-timestamped-master.yml index 54f1930..f6e2e0e 100644 --- a/.github/workflows/build-timestamped-master.yml +++ b/.github/workflows/build-timestamped-master.yml @@ -26,11 +26,11 @@ jobs: with: version: latest - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: 17.0.7 + java-version: 21.0.3 - name: Change to Timestamped Version run: | startTime=$(TZ="Asia/Kolkata" date +'%Y%m%d-%H%M00') diff --git a/.github/workflows/dev-stage-central-publish.yml b/.github/workflows/dev-stage-central-publish.yml index 7132356..b04d152 100644 --- a/.github/workflows/dev-stage-central-publish.yml +++ b/.github/workflows/dev-stage-central-publish.yml @@ -24,11 +24,11 @@ jobs: with: version: latest - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: 17.0.7 + java-version: 21.0.3 - name: Grant execute permission for gradlew run: chmod +x gradlew diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index faa2ac1..6e2c0d3 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -16,11 +16,11 @@ jobs: with: version: latest - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: 17.0.7 + java-version: 21.0.3 - name: Set version env variable run: echo "VERSION=$((grep -w "version" | cut -d= -f2) < gradle.properties | rev | cut --complement -d- -f1 | rev)" >> $GITHUB_ENV diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 9688149..8114491 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -22,11 +22,11 @@ jobs: with: version: latest - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v3 with: distribution: 'temurin' - java-version: 17.0.7 + java-version: 21.0.3 - name: Set ENV Variables run: | diff --git a/.gitignore b/.gitignore index 553eaa1..90e1302 100644 --- a/.gitignore +++ b/.gitignore @@ -31,8 +31,5 @@ hs_err_pid* # Ignore Gradle build output directory build -#Ignore all dependancy files -Dependencies.toml - #Ignore all .deb files *.deb diff --git a/.idea/workspace.xml b/.idea/workspace.xml new file mode 100644 index 0000000..e73fd4c --- /dev/null +++ b/.idea/workspace.xml @@ -0,0 +1,69 @@ + + + + + + + + + + + + + + + + + + + + + + + +