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
13 changes: 8 additions & 5 deletions android/build.gradle
Original file line number Diff line number Diff line change
@@ -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"
Expand Down Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ android.enableJetifier=true
org.gradle.configureondemand=true
android.disableResourceValidation=true
android.nonTransitiveRClass=true
android.suppressUnsupportedCompileSdk=33
android.suppressUnsupportedCompileSdk=33,37

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should try building without this and see whether it causes any critical issues. If it does, we should consider upgrading the Gradle plugin instead of suppressing warnings or errors, as that could lead to unexpected behavior down the line.

newArchEnabled=true
hermesEnabled=true
mendixnative.cookieEncryption=false
Expand Down
Loading