Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/sdk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,16 @@ jobs:
with:
distribution: 'corretto'
java-version: ${{ matrix.java-version }}
- name: Set up JDK 21 to run Gradle
uses: actions/setup-java@v6
with:
distribution: 'corretto'
java-version: '21'
- name: unit tests
run: ./gradlew clean test --info
run: >-
./gradlew clean test --info
-Porg.gradle.java.installations.fromEnv=JAVA_HOME_${{ matrix.java-version }}_X64
-PjavaToolchainVersion=${{ matrix.java-version }}
env:
TEST_EV_APP_ID: ${{ secrets.TEST_EV_APP_ID }}
TEST_EV_API_KEY: ${{ secrets.TEST_EV_API_KEY }}
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-9.7.1-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
54 changes: 34 additions & 20 deletions gradlew

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

171 changes: 82 additions & 89 deletions gradlew.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions lib/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dependencies {
testImplementation "com.github.tomakehurst:wiremock-jre8:2.32.0"
testImplementation "org.mockito:mockito-core:3.12.4"
testImplementation "org.slf4j:slf4j-nop:2.0.18"
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'

implementation 'com.google.code.gson:gson:2.14.0'
implementation 'com.google.guava:guava:33.7.1-android'
Expand All @@ -45,6 +46,14 @@ java {
targetCompatibility = JavaVersion.VERSION_1_8
}

if (project.hasProperty('javaToolchainVersion')) {
java {
toolchain {
languageVersion = JavaLanguageVersion.of(javaToolchainVersion as int)
}
}
}

tasks.named('test', Test) {
useJUnitPlatform()
}
Expand Down
2 changes: 2 additions & 0 deletions lib/gradle.lockfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# This is a Gradle generated file for dependency locking.
# Manual edits can break the build and are not advised.
# This file is expected to be part of source control.
# To regenerate this file, run: ./gradlew :lib:dependencies --write-locks
com.fasterxml.jackson.core:jackson-annotations:2.13.0=testCompileClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-core:2.13.0=testCompileClasspath,testRuntimeClasspath
com.fasterxml.jackson.core:jackson-databind:2.13.0=testCompileClasspath,testRuntimeClasspath
Expand Down Expand Up @@ -67,6 +68,7 @@ org.junit.jupiter:junit-jupiter-params:5.7.2=testCompileClasspath,testRuntimeCla
org.junit.jupiter:junit-jupiter:5.7.2=testCompileClasspath,testRuntimeClasspath
org.junit.platform:junit-platform-commons:1.7.2=testCompileClasspath,testRuntimeClasspath
org.junit.platform:junit-platform-engine:1.7.2=testRuntimeClasspath
org.junit.platform:junit-platform-launcher:1.7.2=testRuntimeClasspath
org.junit:junit-bom:5.7.2=testCompileClasspath,testRuntimeClasspath
org.mockito:mockito-core:3.12.4=testCompileClasspath,testRuntimeClasspath
org.objenesis:objenesis:3.2=testCompileClasspath,testRuntimeClasspath
Expand Down
Loading