diff --git a/android/build.gradle b/android/build.gradle index ca7400e18..75c673bba 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,9 +1,9 @@ buildscript { ext { - buildToolsVersion = "35.0.0" + buildToolsVersion = "37.0.0" minSdkVersion = 24 - compileSdkVersion = 35 - targetSdkVersion = 35 + compileSdkVersion = 37 + targetSdkVersion = 37 kotlinVersion = "1.9.24" excludeAppGlideModule = true androidx_lifecycle_version = "2.8.6" @@ -54,9 +54,12 @@ project.ext { allprojects { repositories { + // NOTE: this is a live hook - it also fires for repositories added *below*, so any + // URL matched here is stripped even when declared intentionally further down. + // jitpack.io must NOT be matched: the Mendix mirror does not proxy JitPack-hosted + // artifacts (returns 403), so the explicit jitpack declaration below is required. all { repo -> - println repo.url.toString() - if (repo.url.toString().contains("jcenter.bintray.com") || repo.url.toString().contains("jitpack.io")) { + if (repo.url.toString().contains("jcenter.bintray.com")) { project.logger.warn "Repository ${repo.url} removed." remove repo google() diff --git a/android/gradle.properties b/android/gradle.properties index 8c7745962..9a9df228f 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -21,7 +21,7 @@ android.enableJetifier=true org.gradle.configureondemand=true android.disableResourceValidation=true android.nonTransitiveRClass=true -android.suppressUnsupportedCompileSdk=33 +android.suppressUnsupportedCompileSdk=33,37 newArchEnabled=true hermesEnabled=true mendixnative.cookieEncryption=false