From 79665316807c13352f6d68178c56960d461d36e2 Mon Sep 17 00:00:00 2001 From: FreePhoenix888 Date: Sat, 16 Dec 2023 20:52:12 +0600 Subject: [PATCH] Revert "Move android config to the end" This reverts commit d71c45236b0aaeea7f6506fa46660265170b7193. --- android/build.gradle | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/android/build.gradle b/android/build.gradle index c297940f..24e095ab 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -1,6 +1,14 @@ // Top-level build file where you can add configuration options common to all sub-projects/modules. +android { + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_8 + targetCompatibility JavaVersion.VERSION_1_8 + } +} + buildscript { + repositories { google() mavenCentral() @@ -8,9 +16,14 @@ buildscript { dependencies { classpath 'com.android.tools.build:gradle:8.1.1' classpath 'com.google.gms:google-services:4.3.15' + + // NOTE: Do not place your application dependencies here; they belong + // in the individual module build.gradle files } } +apply from: "variables.gradle" + allprojects { repositories { google() @@ -21,12 +34,3 @@ allprojects { task clean(type: Delete) { delete rootProject.buildDir } - -android { - compileOptions { - sourceCompatibility JavaVersion.VERSION_1_8 - targetCompatibility JavaVersion.VERSION_1_8 - } -} - -apply from: "variables.gradle"