Skip to content

Commit

Permalink
Use kotlin plugin info in buildscript
Browse files Browse the repository at this point in the history
  • Loading branch information
AllanWang committed Jun 6, 2019
1 parent 2475607 commit f55d101
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f55d101

Please sign in to comment.