aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2019-06-06 16:31:31 -0400
committerAllan Wang <me@allanwang.ca>2019-06-06 16:31:31 -0400
commitf55d10118b296f5927b786778d42c4a1e072b5dd (patch)
tree1a707602db8026cfe7cf7ee892a30663a9ca66b7 /build.gradle
parent2475607338e6c4c0b70dbcb307f0dc7058950a4d (diff)
downloadkau-f55d10118b296f5927b786778d42c4a1e072b5dd.tar.gz
kau-f55d10118b296f5927b786778d42c4a1e072b5dd.tar.bz2
kau-f55d10118b296f5927b786778d42c4a1e072b5dd.zip
Use kotlin plugin info in buildscript
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle23
1 files changed, 9 insertions, 14 deletions
diff --git a/build.gradle b/build.gradle
index bdad1e5..39aba6f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -6,21 +6,16 @@ buildscript {
maven { url "https://plugins.gradle.org/m2/" }
}
+ apply plugin: "ca.allanwang.kau"
+
dependencies {
- // https://mvnrepository.com/artifact/com.android.tools.build/gradle?repo=google
- classpath("com.android.tools.build:gradle:3.4.1")
- // https://kotlinlang.org/docs/reference/using-gradle.html
- classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.31")
- // https://github.com/dcendents/android-maven-gradle-plugin/releases
- classpath("com.github.dcendents:android-maven-gradle-plugin:2.1")
- // https://github.com/Triple-T/gradle-play-publisher/releases
- classpath("com.github.triplet.gradle:play-publisher:2.1.0")
- // https://github.com/KeepSafe/dexcount-gradle-plugin/releases
- classpath("com.getkeepsafe.dexcount:dexcount-gradle-plugin:0.8.6")
- // https://github.com/gladed/gradle-android-git-version/releases
- classpath("com.gladed.androidgitversion:gradle-android-git-version:0.4.9")
- // https://github.com/diffplug/spotless/blob/master/plugin-gradle/CHANGES.md
- classpath("com.diffplug.spotless:spotless-plugin-gradle:3.21.1")
+ classpath kauPlugin.android
+ classpath kauPlugin.kotlin
+ classpath kauPlugin.androidMaven
+ classpath kauPlugin.playPublisher
+ classpath kauPlugin.dexCount
+ classpath kauPlugin.gitVersion
+ classpath kauPlugin.spotless
}
wrapper.setDistributionType(Wrapper.DistributionType.ALL)