mirror of
https://github.com/fankes/TSBattery.git
synced 2025-12-10 15:43:37 +08:00
37 lines
1.0 KiB
Plaintext
37 lines
1.0 KiB
Plaintext
pluginManagement {
|
|
repositories {
|
|
gradlePluginPortal()
|
|
google()
|
|
mavenCentral()
|
|
mavenLocal()
|
|
}
|
|
}
|
|
dependencyResolutionManagement {
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
repositories {
|
|
google()
|
|
mavenCentral()
|
|
maven("https://jitpack.io")
|
|
maven("https://api.xposed.info/")
|
|
maven("https://raw.githubusercontent.com/fankes/maven-repository/main/repository/releases")
|
|
}
|
|
}
|
|
plugins {
|
|
id("com.highcapable.gropify") version "1.0.0"
|
|
}
|
|
gropify {
|
|
global {
|
|
common {
|
|
permanentKeyValues("GITHUB_CI_COMMIT_ID" to "")
|
|
locations(GropifyLocation.RootProject, GropifyLocation.SystemEnv)
|
|
}
|
|
android {
|
|
includeKeys("GITHUB_CI_COMMIT_ID")
|
|
// 关闭类型自动转换功能,防止一些特殊 "COMMIT ID" 被生成为数值
|
|
useTypeAutoConversion = false
|
|
}
|
|
}
|
|
rootProject { common { isEnabled = false } }
|
|
}
|
|
rootProject.name = "TSBattery"
|
|
include(":app") |