1 Star 0 Fork 0

sinlov/android-kotlin-temple

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.67 KB
一键复制 编辑 原始数据 按行查看 历史
sinlov 提交于 2021-05-06 13:18 . update version of package.gradle
// Top-level build file where you can add configuration options common to all sub-projects/modules.
apply from: rootProject.file("package.gradle")
apply from: rootProject.file("gradle/utils.gradle")
configurations.all {
// Dynamic Modules
resolutionStrategy.cacheDynamicVersionsFor 10, TimeUnit.MINUTES
// Changing Modules
resolutionStrategy.cacheChangingModulesFor 0, TimeUnit.SECONDS
}
buildscript {
repositories {
mavenCentral()
// jcenter()
google()
}
ext.kotlin_version = '1.4.32'
dependencies {
classpath 'com.android.tools.build:gradle:4.1.3'
classpath 'com.neenbedankt.gradle.plugins:android-apt:1.8'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath "org.jetbrains.dokka:dokka-android-gradle-plugin:0.9.18"
// classpath 'com.novoda:bintray-release:0.9.2'
// classpath "org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.8.1"
// classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.2.1"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
// for custom repository
// maven { url LIB_CUSTOM_ANDROID_REPOSITORY_URL }
// for business repository
// if (isReleaseBuild()) {
// maven { url REPO_RELEASE_REPOSITORY_URL }
// } else {
// maven { url REPO_SNAPSHOT_REPOSITORY_URL }
// }
// public java and android repository
mavenCentral()
// jcenter()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/sinlov/android-kotlin-temple.git
git@gitee.com:sinlov/android-kotlin-temple.git
sinlov
android-kotlin-temple
android-kotlin-temple
main

搜索帮助