aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
blob: 341dcd146ea5501e090823b335ea980c1e4b89eb (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
34
35
36
37
38
39
40
41
42
43
buildscript {
    repositories {
        google()
        jcenter()
        maven { url 'https://maven.fabric.io/public' }
        maven { url "https://plugins.gradle.org/m2/" }
    }

    apply plugin: "ca.allanwang.kau"

    dependencies {
        classpath kauPlugin.android
        classpath kauPlugin.kotlin
        classpath kauPlugin.androidMaven
        classpath kauPlugin.playPublisher
        classpath kauPlugin.dexCount
        classpath kauPlugin.gitVersion
    }
}

apply plugin: "ca.allanwang.kau"

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

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

subprojects {

    if (it.name == 'gradle-plugin')
        return

    apply plugin: 'com.gladed.androidgitversion'

    repositories {
        google()
        jcenter()
        maven { url "https://jitpack.io" }
    }
}