mirror of
https://github.com/HighCapable/YukiHookAPI.git
synced 2025-12-10 07:04:03 +08:00
chore: migrate to version catalog, Gropify
This commit is contained in:
@@ -6,21 +6,36 @@ pluginManagement {
|
||||
mavenCentral()
|
||||
}
|
||||
}
|
||||
plugins {
|
||||
id("com.highcapable.sweetdependency") version "1.0.4"
|
||||
id("com.highcapable.sweetproperty") version "1.0.8"
|
||||
}
|
||||
sweetProperty {
|
||||
global {
|
||||
sourcesCode {
|
||||
includeKeys("^project\\..*\$".toRegex())
|
||||
isEnableRestrictedAccess = true
|
||||
dependencyResolutionManagement {
|
||||
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
||||
repositories {
|
||||
google()
|
||||
mavenCentral()
|
||||
maven("https://jitpack.io")
|
||||
maven("https://api.xposed.info/") {
|
||||
content {
|
||||
includeGroup("de.robv.android.xposed")
|
||||
}
|
||||
}
|
||||
}
|
||||
rootProject { all { isEnable = false } }
|
||||
project(":samples") { all { isEnable = false } }
|
||||
project(":samples:demo-app", ":samples:demo-module", ":yukihookapi-stub") { sourcesCode { isEnable = false } }
|
||||
project(":yukihookapi-core", ":yukihookapi-ksp-xposed") { sourcesCode { className = rootProject.name } }
|
||||
}
|
||||
plugins {
|
||||
id("com.highcapable.gropify") version "1.0.0"
|
||||
}
|
||||
gropify {
|
||||
global {
|
||||
android {
|
||||
includeKeys("^project\\..*\$".toRegex())
|
||||
isRestrictedAccessEnabled = true
|
||||
}
|
||||
}
|
||||
rootProject { common { isEnabled = false } }
|
||||
projects(":samples") { common { isEnabled = false } }
|
||||
projects(":samples:demo-app", ":samples:demo-module", ":yukihookapi-stub") { android { isEnabled = false } }
|
||||
projects(":yukihookapi-core", ":yukihookapi-ksp-xposed") {
|
||||
android { className = rootProject.name }
|
||||
jvm { className = rootProject.name }
|
||||
}
|
||||
}
|
||||
rootProject.name = "YukiHookAPI"
|
||||
include(":samples:demo-app", ":samples:demo-module")
|
||||
|
||||
Reference in New Issue
Block a user