aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle5
1 files changed, 4 insertions, 1 deletions
diff --git a/build.gradle b/build.gradle
index 3ddfb9c..39aba6f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -15,6 +15,7 @@ buildscript {
classpath kauPlugin.playPublisher
classpath kauPlugin.dexCount
classpath kauPlugin.gitVersion
+ classpath kauPlugin.spotless
}
wrapper.setDistributionType(Wrapper.DistributionType.ALL)
@@ -27,7 +28,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 {
@@ -37,6 +38,8 @@ subprojects {
apply plugin: 'com.gladed.androidgitversion'
+ apply from: '../spotless.gradle'
+
repositories {
google()
jcenter()