diff --git a/build.gradle b/build.gradle.kts similarity index 51% rename from build.gradle rename to build.gradle.kts index 65628f0881..793e7cba85 100644 --- a/build.gradle +++ b/build.gradle.kts @@ -1,5 +1,7 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. -apply plugin: 'com.github.ben-manes.versions' +plugins { + id("com.github.ben-manes.versions") version "0.27.0" +} buildscript { repositories { @@ -7,10 +9,9 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.5.3' - classpath 'com.github.ben-manes:gradle-versions-plugin:0.22.0' - classpath 'com.github.zellius:android-shortcut-gradle-plugin:0.1.2' - classpath 'com.google.gms:google-services:4.3.3' + classpath("com.android.tools.build:gradle:3.5.3") + classpath("com.github.zellius:android-shortcut-gradle-plugin:0.1.2") + classpath("com.google.gms:google-services:4.3.3") // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files } @@ -19,7 +20,11 @@ buildscript { allprojects { repositories { google() - maven { url "https://www.jitpack.io" } + maven { setUrl("https://www.jitpack.io") } jcenter() } } + +tasks.register("clean", Delete::class) { + delete(rootProject.buildDir) +} diff --git a/settings.gradle b/settings.gradle deleted file mode 100644 index e7b4def49c..0000000000 --- a/settings.gradle +++ /dev/null @@ -1 +0,0 @@ -include ':app' diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 0000000000..15a801b10a --- /dev/null +++ b/settings.gradle.kts @@ -0,0 +1 @@ +include(":app")