1 Star 0 Fork 0

jasonkevin88/AndroidTechCenter

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 966 Bytes
一键复制 编辑 原始数据 按行查看 历史
陈宝阳 提交于 2022-04-28 15:49 +08:00 . Initial commit
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: "config.gradle"
buildscript {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
dependencies {
classpath "com.android.tools.build:gradle:7.0.4"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
// 统一管理整个项目的module的插件应用
subprojects { subproject ->
if (subproject.name == "app") {
apply plugin: 'com.android.application'
}else {
apply plugin: 'com.android.library'
}
// apply kotlin插件,必须在Android的之后,不然会找不到android{}这个扩展属性
apply plugin: 'kotlin-android'
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/jasonkevin88/AndroidTechCenter.git
git@gitee.com:jasonkevin88/AndroidTechCenter.git
jasonkevin88
AndroidTechCenter
AndroidTechCenter
master

搜索帮助