From f55d10118b296f5927b786778d42c4a1e072b5dd Mon Sep 17 00:00:00 2001 From: Allan Wang Date: Thu, 6 Jun 2019 16:31:31 -0400 Subject: Use kotlin plugin info in buildscript --- build.gradle | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) (limited to 'build.gradle') 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) -- cgit v1.2.3