加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
gaowei 提交于 2023-12-20 20:41 . release plugin 1.3.5
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.6.21'
ext.min_support_version = 14
// sdk_version(31)需要java11编译
ext.compile_sdk_version = 30
ext.target_sdk_version = 30
repositories {
maven { url uri(rootProject.rootDir.path + '/.aar/maven/libs-release')}
maven { url uri('https://s01.oss.sonatype.org/content/repositories/releases/')}
mavenCentral()
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:4.2.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// DRouter Plugin
classpath 'io.github.didi:drouter-plugin:1.3.5' // apg 1.x-7.x
// classpath 'io.github.didi:drouter-plugin:1.4.0' // agp 8.x
}
}
allprojects {
repositories {
maven { url uri(rootProject.rootDir.path + '/.aar/maven')}
maven { url uri('https://s01.oss.sonatype.org/content/repositories/releases/')}
mavenCentral()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化