Update build files

This commit is contained in:
tehcneko 2024-03-11 21:34:16 +08:00
parent 150963caae
commit 9e1bdeaf16
2 changed files with 23 additions and 26 deletions

View File

@ -1,29 +1,7 @@
// Top-level build file where you can add configuration options common to all sub-projects/modules. plugins {
buildscript { id 'com.android.application' version '8.3.0' apply false
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 { tasks.register('clean', Delete) {
repositories {
google()
mavenCentral()
mavenLocal {
content {
includeGroup("io.github.libxposed")
}
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir delete rootProject.buildDir
} }

View File

@ -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' include ':app'