1 Star 0 Fork 0

rachelzhao/flutterNative

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
settings.gradle 918 Bytes
一键复制 编辑 原始数据 按行查看 历史
Tom 提交于 2023-06-16 17:34 . add
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.PREFER_SETTINGS)
repositories {
google()
mavenCentral()
maven { url 'https://storage.googleapis.com/download.flutter.io' }
}
}
rootProject.name = "flutterNative"
include ':app'
setBinding(new Binding([gradle: this]))
evaluate(new File(settingsDir.parentFile, 'flutterNative/flutter_module/.android/include_flutter.groovy'))
// 避免出现couldn't find "libflutter.so"
// Flutter/sdk/flutter/packages/flutter_tools/gradle/flutter.gradle
// flutter module设置ABI
gradle.beforeProject({ project->
if (project.hasProperty("target-platform") && !project.getProperty("target-platform").split(",").contains("android-arm")) {
project.setProperty("target-platform", "android-arm")
}
})
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/rachelzhao/flutter-native.git
git@gitee.com:rachelzhao/flutter-native.git
rachelzhao
flutter-native
flutterNative
master

搜索帮助