From a4cfeb6b93220fe957fd109e022c178e07fcc17e Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 14 Jun 2021 12:14:25 +0200 Subject: [PATCH] Updated gradle --- app/build.gradle | 7 ++++++- build.gradle | 2 +- gradle/wrapper/gradle-wrapper.properties | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 15ea68e2..7ad63ace 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -23,7 +23,7 @@ android { } } - //ndkVersion "21.0.6113669" + ndkVersion "21.4.7075529" ndk { // https://developer.android.com/ndk/guides/abis.html#sa abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64' @@ -76,6 +76,11 @@ android { buildConfigField "String", "GITHUB_LATEST_API", "\"https://api.github.com/repos/M66B/NetGuard/releases/latest\"" } } + + compileOptions { + sourceCompatibility JavaVersion.VERSION_1_7 + targetCompatibility JavaVersion.VERSION_1_7 + } } dependencies { diff --git a/build.gradle b/build.gradle index 2e250a25..34c7c653 100644 --- a/build.gradle +++ b/build.gradle @@ -9,7 +9,7 @@ buildscript { // http://tools.android.com/tech-docs/new-build-system/gradle-experimental // https://bintray.com/android/android-tools/com.android.tools.build.gradle-experimental/view // https://bintray.com/android/android-tools/com.google.gms.google-services/view - classpath 'com.android.tools.build:gradle:4.1.2' + classpath 'com.android.tools.build:gradle:4.2.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index da53a98a..d44ef938 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip