2026-03-03 22:16:30 +08:00
|
|
|
|
/*
|
2026-02-11 16:59:49 +08:00
|
|
|
|
pluginManagement {
|
|
|
|
|
|
repositories {
|
|
|
|
|
|
google()
|
|
|
|
|
|
mavenCentral()
|
|
|
|
|
|
gradlePluginPortal()
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
dependencyResolutionManagement {
|
|
|
|
|
|
repositoriesMode.set(RepositoriesMode.PREFER_PROJECT)
|
|
|
|
|
|
repositories {
|
|
|
|
|
|
google()
|
|
|
|
|
|
mavenCentral()
|
|
|
|
|
|
maven { url = uri("https://jitpack.io") }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
rootProject.name = "RemoteControl"
|
2026-03-03 22:16:30 +08:00
|
|
|
|
include ':app' */
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pluginManagement {
|
|
|
|
|
|
repositories {
|
|
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/google' }
|
|
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/public' }
|
|
|
|
|
|
google()
|
|
|
|
|
|
mavenCentral()
|
|
|
|
|
|
gradlePluginPortal()
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
dependencyResolutionManagement {
|
|
|
|
|
|
// 关键点:如果你的项目在 build.gradle 里也写了 repositories,这里建议改回 PREFER_SETTINGS
|
|
|
|
|
|
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
|
|
|
|
|
|
repositories {
|
|
|
|
|
|
// 阿里镜像库
|
|
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/google' }
|
|
|
|
|
|
maven { url 'https://maven.aliyun.com/repository/public' }
|
|
|
|
|
|
google()
|
|
|
|
|
|
mavenCentral()
|
|
|
|
|
|
maven { url = uri("https://jitpack.io") }
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
rootProject.name = "RemoteControl"
|
|
|
|
|
|
include ':app'
|