diff --git a/build.gradle b/build.gradle index 1bf260e0d7..83af7215c3 100644 --- a/build.gradle +++ b/build.gradle @@ -1,23 +1,3 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. -buildscript { - repositories { - google() - mavenCentral() - maven { - url "https://www.jitpack.io" - content { - includeModule 'com.github.UnifiedPush', 'android-connector' - } - } - mavenLocal() - } - dependencies { - classpath 'com.android.tools.build:gradle:8.0.0' - // NOTE: Do not place your application dependencies here; they belong - // in the individual module build.gradle files - } +plugins { + id("com.android.application") version "8.7.2" apply false } - -task clean(type: Delete) { - delete rootProject.buildDir -} \ No newline at end of file diff --git a/gradle.properties b/gradle.properties index cd211a89fe..9d4267fe2e 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,7 +17,5 @@ org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8 android.useAndroidX=true # Automatically convert third-party libraries to use AndroidX android.enableJetifier=false -android.defaults.buildfeatures.buildconfig=true -android.nonTransitiveRClass=true android.nonFinalResIds=false -org.gradle.configuration-cache=true \ No newline at end of file +org.gradle.configuration-cache=true diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 2c3425d49e..6fc951615d 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,7 +1,7 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionSha256Sum=e111cb9948407e26351227dabce49822fb88c37ee72f1d1582a69c68af2e702f -distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip +distributionSha256Sum=57dafb5c2622c6cc08b993c85b7c06956a2f53536432a30ead46166dbca0f1e9 +distributionUrl=https\://services.gradle.org/distributions/gradle-8.11-bin.zip networkTimeout=10000 zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists diff --git a/settings.gradle b/settings.gradle index 0e3f80fd37..a4a0c62018 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,3 +1,16 @@ +pluginManagement { + repositories { + google() + mavenCentral() + maven { + url "https://www.jitpack.io" + content { + includeModule 'com.github.UnifiedPush', 'android-connector' + } + } + mavenLocal() + } +} dependencyResolutionManagement { repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) repositories {