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"