Target Android SDK 35

This commit is contained in:
Nico
2025-10-27 11:36:19 +01:00
committed by akwizgran
parent 070a0181d9
commit 65f4f09d8f
34 changed files with 366 additions and 118 deletions

View File

@@ -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)
}