diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index b040807..ff2d306 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -42,11 +42,11 @@ jobs: steps: - name: Checkout Branch uses: actions/checkout@v6.0.2 - - name: "Install JDK 11" + - name: "Install JDK 17" uses: actions/setup-java@v5 with: distribution: zulu - java-version: 11 + java-version: 17 - name: Install NPM uses: actions/setup-node@v6 - name: NPM Build diff --git a/plugin/src/android/build.gradle b/plugin/src/android/build.gradle index 7145b2d..8f7bc28 100644 --- a/plugin/src/android/build.gradle +++ b/plugin/src/android/build.gradle @@ -20,11 +20,13 @@ repositories { dependencies { compileOnly("org.apache.cordova:framework:10.1.2") - compileOnly("com.mparticle:android-core:+") + // Bounded range avoids resolving to 6.0.0-rc.1+ on Maven Central, which + // removed deprecated symbols this plugin relies on. See mparticle-android-sdk#710. + compileOnly("com.mparticle:android-core:[5.0,6.0)") testImplementation("junit:junit:4.13.2") testImplementation("org.json:json:20220320") testImplementation("org.mockito:mockito-core:4.5.1") testImplementation("org.apache.cordova:framework:10.1.2") - testImplementation("com.mparticle:android-core:+") + testImplementation("com.mparticle:android-core:[5.0,6.0)") }