2025-08-29 15:43:24 +08:00
|
|
|
pluginManagement {
|
|
|
|
|
includeBuild("../node_modules/@react-native/gradle-plugin")
|
|
|
|
|
repositories {
|
|
|
|
|
maven { url "https://nexus-inner.51trust.com/repository/android/" }
|
|
|
|
|
gradlePluginPortal() // 如需官方插件
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-07-14 14:13:15 +08:00
|
|
|
plugins { id("com.facebook.react.settings") }
|
2025-08-29 15:43:24 +08:00
|
|
|
// 强制所有依赖解析走你的仓库
|
|
|
|
|
dependencyResolutionManagement {
|
|
|
|
|
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS) // 禁止其他仓库
|
|
|
|
|
repositories {
|
|
|
|
|
maven { url "https://nexus-inner.51trust.com/repository/android/" }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-07-14 14:13:15 +08:00
|
|
|
extensions.configure(com.facebook.react.ReactSettingsExtension){ ex -> ex.autolinkLibrariesFromCommand() }
|
2025-07-14 17:27:00 +08:00
|
|
|
rootProject.name = 'YiwangxinMultip'
|
2025-07-14 14:13:15 +08:00
|
|
|
include ':app'
|
2025-08-29 15:43:24 +08:00
|
|
|
includeBuild('../node_modules/@react-native/gradle-plugin')
|