mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-03 13:54:09 +00:00
Android N build remarks
This commit is contained in:
parent
9f8c4d2fc5
commit
cfe90af90a
1 changed files with 9 additions and 4 deletions
|
@ -2,16 +2,16 @@ apply plugin: 'com.android.model.application'
|
||||||
|
|
||||||
model {
|
model {
|
||||||
android {
|
android {
|
||||||
compileSdkVersion = 23
|
compileSdkVersion = 23 // "android-N"
|
||||||
buildToolsVersion = "23.0.3"
|
buildToolsVersion = "23.0.3" // "24.0.0 rc2"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "eu.faircode.netguard"
|
applicationId = "eu.faircode.netguard"
|
||||||
minSdkVersion.apiLevel = 14
|
minSdkVersion.apiLevel = 14
|
||||||
targetSdkVersion.apiLevel = 23
|
targetSdkVersion.apiLevel = 23 // 24
|
||||||
versionCode = 2016033102
|
versionCode = 2016033102
|
||||||
versionName = "2.16"
|
versionName = "2.16"
|
||||||
archivesBaseName = "NetGuard-v$versionName-$versionCode"
|
archivesBaseName = "NetGuard-v$versionName-$versionCode-sdk-$targetSdkVersion.apiLevel"
|
||||||
|
|
||||||
buildConfigFields {
|
buildConfigFields {
|
||||||
create() {
|
create() {
|
||||||
|
@ -22,6 +22,11 @@ model {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
compileOptions.with {
|
||||||
|
sourceCompatibility JavaVersion.VERSION_1_7
|
||||||
|
targetCompatibility JavaVersion.VERSION_1_7
|
||||||
|
}
|
||||||
|
|
||||||
ndk {
|
ndk {
|
||||||
platformVersion = "14"
|
platformVersion = "14"
|
||||||
moduleName = "netguard"
|
moduleName = "netguard"
|
||||||
|
|
Loading…
Reference in a new issue