6 Star 80 Fork 23

hegaojian / JetpackMvvm

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.01 KB
一键复制 编辑 原始数据 按行查看 历史
hegaojian 提交于 2022-01-04 16:28 . fix #96
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext.kotlin_version = '1.3.72'
repositories {
google()
//阿里云jcenter仓库
maven{ url 'https://maven.aliyun.com/repository/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"
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.1'
}
}
allprojects {
repositories {
google()
//阿里云jcenter仓库
maven{ url 'https://maven.aliyun.com/repository/jcenter' }
maven {
url 'https://jitpack.io'
}
}
//配置这个
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
options.addStringOption('encoding', 'UTF-8')
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Kotlin
1
https://gitee.com/hegaojian/JetpackMvvm.git
git@gitee.com:hegaojian/JetpackMvvm.git
hegaojian
JetpackMvvm
JetpackMvvm
master

搜索帮助