buildscript { repositories { google() jcenter() maven { url "https://jitpack.io" } maven { url "https://plugins.gradle.org/m2/" } } dependencies { classpath "ca.allanwang:kau:${KAU}" classpath 'com.android.tools.build.jetifier:jetifier-processor:1.0.0-beta02' classpath "com.android.tools.build:gradle:${ANDROID_GRADLE}" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:${KOTLIN}" classpath "com.bugsnag:bugsnag-android-gradle-plugin:${BUGSNAG_PLUGIN}" classpath "com.diffplug.spotless:spotless-plugin-gradle:${SPOTLESS}" classpath "com.getkeepsafe.dexcount:dexcount-gradle-plugin:${DEX_PLUGIN}" classpath "gradle.plugin.com.gladed.gradle.androidgitversion:gradle-android-git-version:${GIT_PLUGIN}" } wrapper.setDistributionType(Wrapper.DistributionType.ALL) } apply plugin: 'ca.allanwang.kau' task clean(type: Delete) { delete rootProject.buildDir } task generateChangelogMd() { kauChangelog.generate("$project.rootDir/app/src/main/res/xml/frost_changelog.xml") } task fullRelease(type: GradleBuild) { tasks = ['clean', 'lintRelease', 'test', 'assembleRelease'] }