mirror of https://github.com/M66B/NetGuard.git
Updated build tools and libraries
This commit is contained in:
parent
d0bd546a58
commit
34164fdd3c
|
@ -23,7 +23,7 @@ android {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
ndkVersion "21.4.7075529"
|
//ndkVersion "21.4.7075529"
|
||||||
ndk {
|
ndk {
|
||||||
// https://developer.android.com/ndk/guides/abis.html#sa
|
// https://developer.android.com/ndk/guides/abis.html#sa
|
||||||
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
|
||||||
|
@ -51,7 +51,6 @@ android {
|
||||||
buildTypes {
|
buildTypes {
|
||||||
release {
|
release {
|
||||||
minifyEnabled = true
|
minifyEnabled = true
|
||||||
useProguard = true
|
|
||||||
proguardFiles.add(file('proguard-rules.pro'))
|
proguardFiles.add(file('proguard-rules.pro'))
|
||||||
signingConfig signingConfigs.release
|
signingConfig signingConfigs.release
|
||||||
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
||||||
|
@ -60,7 +59,6 @@ android {
|
||||||
}
|
}
|
||||||
play {
|
play {
|
||||||
minifyEnabled = true
|
minifyEnabled = true
|
||||||
useProguard = true
|
|
||||||
signingConfig signingConfigs.release
|
signingConfig signingConfigs.release
|
||||||
proguardFiles.add(file('proguard-rules.pro'))
|
proguardFiles.add(file('proguard-rules.pro'))
|
||||||
buildConfigField "boolean", "PLAY_STORE_RELEASE", "true"
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "true"
|
||||||
|
@ -69,7 +67,6 @@ android {
|
||||||
}
|
}
|
||||||
debug {
|
debug {
|
||||||
minifyEnabled = true
|
minifyEnabled = true
|
||||||
useProguard = true
|
|
||||||
proguardFiles.add(file('proguard-rules.pro'))
|
proguardFiles.add(file('proguard-rules.pro'))
|
||||||
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
buildConfigField "boolean", "PLAY_STORE_RELEASE", "false"
|
||||||
buildConfigField "String", "HOSTS_FILE_URI", "\"https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts\""
|
buildConfigField "String", "HOSTS_FILE_URI", "\"https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts\""
|
||||||
|
@ -87,7 +84,7 @@ dependencies {
|
||||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
|
|
||||||
// https://developer.android.com/jetpack/androidx/releases/
|
// https://developer.android.com/jetpack/androidx/releases/
|
||||||
implementation 'androidx.appcompat:appcompat:1.3.0'
|
implementation 'androidx.appcompat:appcompat:1.3.1'
|
||||||
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
||||||
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
implementation 'androidx.recyclerview:recyclerview:1.2.1'
|
||||||
implementation 'androidx.preference:preference:1.1.1'
|
implementation 'androidx.preference:preference:1.1.1'
|
||||||
|
|
|
@ -9,7 +9,7 @@ buildscript {
|
||||||
// http://tools.android.com/tech-docs/new-build-system/gradle-experimental
|
// 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.android.tools.build.gradle-experimental/view
|
||||||
// https://bintray.com/android/android-tools/com.google.gms.google-services/view
|
// https://bintray.com/android/android-tools/com.google.gms.google-services/view
|
||||||
classpath 'com.android.tools.build:gradle:4.2.1'
|
classpath 'com.android.tools.build:gradle:7.0.2'
|
||||||
|
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
|
|
|
@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0.2-bin.zip
|
||||||
|
|
Loading…
Reference in New Issue