buildscript { repositories { google() jcenter() maven { url 'https://maven.fabric.io/public' } maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath kau.Plugins.android classpath kau.Plugins.kotlin classpath kau.Plugins.androidMaven classpath kau.Plugins.playPublisher classpath kau.Plugins.dexCount classpath kau.Plugins.gitVersion classpath kau.Plugins.spotless } wrapper.setDistributionType(Wrapper.DistributionType.ALL) } task clean(type: Delete) { delete rootProject.buildDir } task generateChangelogMd { kau.ChangelogGenerator.generate("${project.rootDir}/sample/src/main/res/xml/kau_changelog.xml", "${project.rootDir}/docs/Changelog.md") } subprojects { if (it.name == 'gradle-plugin') return apply plugin: 'com.gladed.androidgitversion' apply from: '../spotless.gradle' repositories { google() jcenter() maven { url "https://jitpack.io" } } }