2017-05-30 00:05:26 +02:00
|
|
|
buildscript {
|
|
|
|
repositories {
|
2017-08-04 07:21:51 +02:00
|
|
|
google()
|
2017-05-30 00:05:26 +02:00
|
|
|
jcenter()
|
2018-01-25 06:23:44 +01:00
|
|
|
maven { url "https://jitpack.io" }
|
2018-04-07 20:41:28 +02:00
|
|
|
maven { url "https://plugins.gradle.org/m2/" }
|
2017-05-30 00:05:26 +02:00
|
|
|
}
|
2018-01-25 06:23:44 +01:00
|
|
|
|
2017-05-30 00:05:26 +02:00
|
|
|
dependencies {
|
2018-01-25 06:23:44 +01:00
|
|
|
classpath "ca.allanwang:kau:${KAU}"
|
2019-03-06 00:31:47 +01:00
|
|
|
// classpath 'com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta02'
|
2018-12-24 02:04:08 +01:00
|
|
|
classpath "com.android.tools.build:gradle:${ANDROID_GRADLE}"
|
2017-06-27 00:04:46 +02:00
|
|
|
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${KOTLIN}"
|
2018-03-21 06:28:31 +01:00
|
|
|
classpath "com.bugsnag:bugsnag-android-gradle-plugin:${BUGSNAG_PLUGIN}"
|
2018-12-24 07:47:03 +01:00
|
|
|
classpath "com.diffplug.spotless:spotless-plugin-gradle:${SPOTLESS}"
|
2018-04-07 20:41:28 +02:00
|
|
|
classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:${DEX_PLUGIN}"
|
|
|
|
classpath "gradle.plugin.com.gladed.gradle.androidgitversion:gradle-android-git-version:${GIT_PLUGIN}"
|
2018-03-26 00:03:15 +02:00
|
|
|
}
|
2018-04-07 20:41:28 +02:00
|
|
|
|
|
|
|
wrapper.setDistributionType(Wrapper.DistributionType.ALL)
|
2017-05-30 00:05:26 +02:00
|
|
|
}
|
|
|
|
|
2018-01-25 06:23:44 +01:00
|
|
|
apply plugin: 'ca.allanwang.kau'
|
|
|
|
|
2017-05-30 00:05:26 +02:00
|
|
|
task clean(type: Delete) {
|
|
|
|
delete rootProject.buildDir
|
|
|
|
}
|
|
|
|
|
|
|
|
task generateChangelogMd() {
|
2018-01-25 06:23:44 +01:00
|
|
|
kauChangelog.generate("$project.rootDir/app/src/main/res/xml/frost_changelog.xml")
|
2018-03-26 00:03:15 +02:00
|
|
|
}
|
2018-04-13 00:50:58 +02:00
|
|
|
|
|
|
|
task fullRelease(type: GradleBuild) {
|
|
|
|
tasks = ['clean', 'lintRelease', 'test', 'assembleRelease']
|
|
|
|
}
|