From f6a336cf56d5d653b05c12fb7f71b5da595e49d4 Mon Sep 17 00:00:00 2001 From: Fredia Huya-Kouadio Date: Sun, 2 Jul 2023 16:36:16 -0700 Subject: Update the 'Hello World' Android plugin to match the new Godot 4.2 format See https://github.com/godotengine/godot/pull/78958 for reference. --- build.gradle | 27 +++++++-------------------- 1 file changed, 7 insertions(+), 20 deletions(-) (limited to 'build.gradle') diff --git a/build.gradle b/build.gradle index 601d66a..bef5465 100644 --- a/build.gradle +++ b/build.gradle @@ -1,32 +1,19 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. - buildscript { - - ext { - kotlin_version = '1.3.70' - } + apply from: 'config.gradle' + repositories { google() - jcenter() - + mavenCentral() + maven { url "https://plugins.gradle.org/m2/" } } dependencies { - classpath 'com.android.tools.build:gradle:3.6.1' - classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" - - - // NOTE: Do not place your application dependencies here; they belong - // in the individual module build.gradle files + classpath "com.android.tools.build:gradle:$versions.gradlePluginVersion" + classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$versions.kotlinVersion" } } -allprojects { - repositories { - google() - jcenter() - - } -} +apply from: 'config.gradle' task clean(type: Delete) { delete rootProject.buildDir -- cgit v1.2.3