aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
blob: 4ca350ba00e0c3ac20743b81058830257e850d8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
buildscript {
    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }
        maven { url "https://plugins.gradle.org/m2/" }
    }

    dependencies {
        classpath "ca.allanwang:kau:${KAU}"
        classpath 'com.android.tools.build:gradle:3.2.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${KOTLIN}"
        classpath "com.bugsnag:bugsnag-android-gradle-plugin:${BUGSNAG_PLUGIN}"
        classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:${DEX_PLUGIN}"
        classpath "gradle.plugin.com.gladed.gradle.androidgitversion:gradle-android-git-version:${GIT_PLUGIN}"
    }

    wrapper.setDistributionType(Wrapper.DistributionType.ALL)
}

apply plugin: 'ca.allanwang.kau'

task clean(type: Delete) {
    delete rootProject.buildDir
}

task generateChangelogMd() {
    kauChangelog.generate("$project.rootDir/app/src/main/res/xml/frost_changelog.xml")
}

task fullRelease(type: GradleBuild) {
    tasks = ['clean', 'lintRelease', 'test', 'assembleRelease']
}