diff options
author | Allan Wang <me@allanwang.ca> | 2019-06-04 01:02:35 -0400 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2019-06-04 01:02:35 -0400 |
commit | 8052a9a4b5f64191d19912d53e16d7e49a587a17 (patch) | |
tree | 271aeb302beb48f8d4b4b9d5a09b2663cac3ddba /build.gradle | |
parent | af8f9685112695f031d93fcb2da8a6e0a3b70c4a (diff) | |
download | kau-8052a9a4b5f64191d19912d53e16d7e49a587a17.tar.gz kau-8052a9a4b5f64191d19912d53e16d7e49a587a17.tar.bz2 kau-8052a9a4b5f64191d19912d53e16d7e49a587a17.zip |
Convert plugin to kotlin code
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/build.gradle b/build.gradle index 5ec6404..bdad1e5 100644 --- a/build.gradle +++ b/build.gradle @@ -6,16 +6,21 @@ buildscript { 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 - classpath kauPlugin.spotless + // 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") } wrapper.setDistributionType(Wrapper.DistributionType.ALL) @@ -28,7 +33,7 @@ task clean(type: Delete) { } task generateChangelogMd { - kauChangelog.generate("$project.rootDir/sample/src/main/res/xml/kau_changelog.xml") + kauChangelog.generate("${project.rootDir}/sample/src/main/res/xml/kau_changelog.xml") } subprojects { |