1 Star 0 Fork 0

brilliantzhao / JetPackMVVMBase

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
zhaozhikun 提交于 2021-01-22 17:08 . 升级gradle依赖
// 需要引入使用,app gradle才可以调用
apply from: "config.gradle"
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = "1.4.21"
repositories {
google()
jcenter()
maven {
url 'https://jitpack.io'
}
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.1"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// 1. 发布到jitpack需要
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
// navigation将 Safe Args 添加到项目中
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.3.2"
}
}
allprojects {
repositories {
google()
jcenter()
maven {
url 'https://jitpack.io'
}
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
1
https://gitee.com/brillantzhao/JetPackMVVMBase.git
git@gitee.com:brillantzhao/JetPackMVVMBase.git
brillantzhao
JetPackMVVMBase
JetPackMVVMBase
master

搜索帮助