diff --git a/.github/workflows/build-timestamped-master.yml b/.github/workflows/build-timestamped-master.yml index c1ee3a9..0af2144 100644 --- a/.github/workflows/build-timestamped-master.yml +++ b/.github/workflows/build-timestamped-master.yml @@ -14,11 +14,11 @@ jobs: if: github.repository_owner == 'ballerina-platform' steps: - uses: actions/checkout@v2 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v2 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/central-publish.yml b/.github/workflows/central-publish.yml index b8ea2e3..13bd320 100644 --- a/.github/workflows/central-publish.yml +++ b/.github/workflows/central-publish.yml @@ -18,11 +18,11 @@ jobs: if: github.repository_owner == 'ballerina-platform' steps: - uses: actions/checkout@v2 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v2 with: distribution: 'temurin' - java-version: 17.0.7 + java-version: 21.0.3 - name: Build with Gradle env: packageUser: ${{ github.actor }} diff --git a/.github/workflows/publish-release.yml b/.github/workflows/publish-release.yml index f9bed84..1bf75a6 100644 --- a/.github/workflows/publish-release.yml +++ b/.github/workflows/publish-release.yml @@ -13,11 +13,11 @@ jobs: if: github.repository_owner == 'ballerina-platform' steps: - uses: actions/checkout@v2 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v2 with: distribution: 'temurin' - java-version: 17.0.7 + java-version: 21.0.3 - name: Build with Gradle env: packageUser: ${{ github.actor }} diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 9d18135..aa4ea55 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -12,11 +12,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v2 with: distribution: 'temurin' - java-version: 17.0.7 + java-version: 21.0.3 - name: Build with Gradle env: packageUser: ${{ github.actor }} @@ -29,11 +29,11 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v2 - - name: Set up JDK 17 + - name: Set up JDK 21 uses: actions/setup-java@v2 with: distribution: 'temurin' - java-version: 17.0.7 + java-version: 21.0.3 - name: Build with Gradle env: packageUser: ${{ github.actor }} diff --git a/README.md b/README.md index ca356c1..1e7055c 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ This Package bundles the latest OracleDB drivers so that the OracleDB connector ### 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/) * [OpenJDK](https://adoptium.net/) diff --git a/ballerina/Ballerina.toml b/ballerina/Ballerina.toml index 179c13d..6a79b57 100644 --- a/ballerina/Ballerina.toml +++ b/ballerina/Ballerina.toml @@ -1,27 +1,27 @@ [package] org = "ballerinax" name = "oracledb.driver" -version = "1.4.0" +version = "1.4.1" authors = ["Ballerina"] keywords = ["OracleDB"] repository = "https://github.com/ballerina-platform/module-ballerinax-oracledb.driver" license = ["Apache-2.0"] -distribution = "2201.8.0" +distribution = "2201.11.0-20241117-133400-a3054b77" -[platform.java17] +[platform.java21] graalvmCompatible = true -[[platform.java17.dependency]] +[[platform.java21.dependency]] path = "./lib/ojdbc11-23.2.0.0.jar" -[[platform.java17.dependency]] +[[platform.java21.dependency]] path = "./lib/xdb-23.2.0.0.jar" -[[platform.java17.dependency]] +[[platform.java21.dependency]] path = "./lib/xmlparserv2-23.2.0.0.jar" -[[platform.java17.dependency]] +[[platform.java21.dependency]] groupId = "io.ballerina.stdlib" artifactId = "oracledb.driver-native" -version = "1.4.0" -path = "../native/build/libs/oracledb.driver-native-1.4.0.jar" +version = "1.4.1" +path = "../native/build/libs/oracledb.driver-native-1.4.1-SNAPSHOT.jar" diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index 09dd5ea..9d9d018 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -5,12 +5,12 @@ [ballerina] dependencies-toml-version = "2" -distribution-version = "2201.8.0" +distribution-version = "2201.11.0-20241117-133400-a3054b77" [[package]] org = "ballerinax" name = "oracledb.driver" -version = "1.4.0" +version = "1.4.1" modules = [ {org = "ballerinax", packageName = "oracledb.driver", moduleName = "oracledb.driver"} ] diff --git a/ballerina/target/cache/tests_cache/test_suit.json b/ballerina/target/cache/tests_cache/test_suit.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/ballerina/target/cache/tests_cache/test_suit.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/build-config/resources/Ballerina.toml b/build-config/resources/Ballerina.toml index 5fa1d0d..58f64f0 100644 --- a/build-config/resources/Ballerina.toml +++ b/build-config/resources/Ballerina.toml @@ -6,21 +6,21 @@ authors = ["Ballerina"] keywords = ["OracleDB"] repository = "https://github.com/ballerina-platform/module-ballerinax-oracledb.driver" license = ["Apache-2.0"] -distribution = "2201.8.0" +distribution = "2201.11.0-20241117-133400-a3054b77" -[platform.java17] +[platform.java21] graalvmCompatible = true -[[platform.java17.dependency]] +[[platform.java21.dependency]] path = "./lib/ojdbc11-@oracledb.driver.version@.jar" -[[platform.java17.dependency]] +[[platform.java21.dependency]] path = "./lib/xdb-@oracle.xdb.version@.jar" -[[platform.java17.dependency]] +[[platform.java21.dependency]] path = "./lib/xmlparserv2-@oracle.xmlparserv2.version@.jar" -[[platform.java17.dependency]] +[[platform.java21.dependency]] groupId = "io.ballerina.stdlib" artifactId = "oracledb.driver-native" version = "@toml.version@" diff --git a/gradle.properties b/gradle.properties index c67b85d..4754f9c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,7 +1,7 @@ group=io.ballerina.stdlib version=1.4.1-SNAPSHOT -githubSpotbugsVersion=5.0.14 +githubSpotbugsVersion=6.0.18 githubJohnrengelmanShadowVersion=8.1.1 oracleDBDriverVersion=23.2.0.0 oracleXDBVersion=23.2.0.0 @@ -10,4 +10,4 @@ underCouchDownloadVersion=5.4.0 researchgateReleaseVersion=2.8.0 ballerinaGradlePluginVersion=2.0.1 -ballerinaLangVersion=2201.8.0 +ballerinaLangVersion=2201.11.0-20241117-133400-a3054b77 diff --git a/native/build.gradle b/native/build.gradle index 9d471ae..e015026 100644 --- a/native/build.gradle +++ b/native/build.gradle @@ -27,7 +27,7 @@ tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } -sourceCompatibility = JavaVersion.VERSION_17 +sourceCompatibility = JavaVersion.VERSION_21 compileJava { doFirst {