diff --git a/build.gradle b/build.gradle index 8fef85c..d6aa020 100644 --- a/build.gradle +++ b/build.gradle @@ -1,29 +1,7 @@ -// Top-level build file where you can add configuration options common to all sub-projects/modules. -buildscript { - repositories { - google() - mavenCentral() - } - dependencies { - classpath 'com.android.tools.build:gradle:8.3.0' - - // NOTE: Do not place your application dependencies here; they belong - // in the individual module build.gradle files - } -} - -allprojects { - repositories { - google() - mavenCentral() - mavenLocal { - content { - includeGroup("io.github.libxposed") - } - } - } +plugins { + id 'com.android.application' version '8.3.0' apply false } -task clean(type: Delete) { +tasks.register('clean', Delete) { delete rootProject.buildDir } diff --git a/settings.gradle b/settings.gradle index 80dfa8f..01601e5 100644 --- a/settings.gradle +++ b/settings.gradle @@ -1,2 +1,21 @@ -rootProject.name = "Disable FLAG_SECURE" +pluginManagement { + repositories { + gradlePluginPortal() + google() + mavenCentral() + } +} +dependencyResolutionManagement { + repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS) + repositories { + google() + mavenCentral() + mavenLocal { + content { + includeGroup("io.github.libxposed") + } + } + } +} +rootProject.name = "DisableFlagSecure" include ':app'