mirror of
https://github.com/M66B/NetGuard.git
synced 2024-12-31 20:35:01 +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 {
|
||||
android {
|
||||
compileSdkVersion = 23
|
||||
buildToolsVersion = "23.0.3"
|
||||
compileSdkVersion = 23 // "android-N"
|
||||
buildToolsVersion = "23.0.3" // "24.0.0 rc2"
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "eu.faircode.netguard"
|
||||
minSdkVersion.apiLevel = 14
|
||||
targetSdkVersion.apiLevel = 23
|
||||
targetSdkVersion.apiLevel = 23 // 24
|
||||
versionCode = 2016033102
|
||||
versionName = "2.16"
|
||||
archivesBaseName = "NetGuard-v$versionName-$versionCode"
|
||||
archivesBaseName = "NetGuard-v$versionName-$versionCode-sdk-$targetSdkVersion.apiLevel"
|
||||
|
||||
buildConfigFields {
|
||||
create() {
|
||||
|
@ -22,6 +22,11 @@ model {
|
|||
}
|
||||
}
|
||||
|
||||
compileOptions.with {
|
||||
sourceCompatibility JavaVersion.VERSION_1_7
|
||||
targetCompatibility JavaVersion.VERSION_1_7
|
||||
}
|
||||
|
||||
ndk {
|
||||
platformVersion = "14"
|
||||
moduleName = "netguard"
|
||||
|
|
Loading…
Reference in a new issue