mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-11 18:29:05 +01:00
Target Android SDK 35
This commit is contained in:
@@ -16,16 +16,18 @@ def getStdout = { command, defaultValue ->
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdk 34
|
||||
buildToolsVersion '34.0.0'
|
||||
|
||||
compileSdk 35
|
||||
buildToolsVersion '35.0.0'
|
||||
packagingOptions {
|
||||
doNotStrip '**/*.so'
|
||||
jniLibs {
|
||||
keepDebugSymbols += ['**/*.so']
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
defaultConfig {
|
||||
minSdkVersion 21
|
||||
targetSdkVersion 34
|
||||
targetSdkVersion 35
|
||||
versionCode 10514
|
||||
versionName "1.5.14"
|
||||
applicationId "org.briarproject.briar.android"
|
||||
@@ -76,8 +78,8 @@ android {
|
||||
}
|
||||
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
sourceCompatibility JavaVersion.VERSION_17
|
||||
targetCompatibility JavaVersion.VERSION_17
|
||||
}
|
||||
|
||||
testOptions {
|
||||
@@ -86,15 +88,11 @@ android {
|
||||
includeAndroidResources = true
|
||||
}
|
||||
}
|
||||
|
||||
lintOptions {
|
||||
warning 'MissingTranslation'
|
||||
warning 'MissingDefaultResource'
|
||||
warning 'ImpliedQuantity'
|
||||
warning 'ExtraTranslation'
|
||||
// FIXME
|
||||
warning 'InvalidPackage'
|
||||
namespace 'org.briarproject.briar'
|
||||
lint {
|
||||
warning 'MissingTranslation', 'MissingDefaultResource', 'ImpliedQuantity', 'ExtraTranslation', 'InvalidPackage'
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
dependencies {
|
||||
@@ -218,6 +216,8 @@ task verifyTranslations {
|
||||
}
|
||||
}
|
||||
|
||||
// Force evaluation of bramble-android before briar-android
|
||||
project.evaluationDependsOn(project.getRootProject().findProject("bramble-android").getPath())
|
||||
project.afterEvaluate {
|
||||
preBuild.dependsOn.add(verifyTranslations)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user