]> git.ipfire.org Git - thirdparty/strongswan.git/blame_incremental - src/frontends/android/app/build.gradle
android: New release after adding fix for existing shortcuts/Intents
[thirdparty/strongswan.git] / src / frontends / android / app / build.gradle
... / ...
CommitLineData
1apply plugin: 'com.android.application'
2
3android {
4 namespace 'org.strongswan.android'
5
6 defaultConfig {
7 applicationId "org.strongswan.android"
8 compileSdk 34
9 minSdkVersion 21
10 targetSdkVersion 33
11
12 versionCode 82
13 versionName "2.5.1"
14
15 externalNativeBuild {
16 ndkBuild {
17 arguments '-j' + Runtime.runtime.availableProcessors()
18 }
19 }
20 }
21
22 ndkVersion "26.1.10909125"
23
24 externalNativeBuild {
25 ndkBuild {
26 path 'src/main/jni/Android.mk'
27 }
28 }
29
30 tasks.withType(JavaCompile).configureEach {
31 compileTask ->
32 options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
33 }
34
35 buildTypes {
36 release {
37 minifyEnabled false
38 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
39 }
40 }
41 compileOptions {
42 targetCompatibility 1.8
43 sourceCompatibility 1.8
44 }
45}
46
47dependencies {
48 implementation 'androidx.appcompat:appcompat:1.6.1'
49 implementation 'androidx.lifecycle:lifecycle-process:2.7.0'
50 implementation 'androidx.preference:preference:1.2.1'
51 implementation 'com.google.android.material:material:1.10.0'
52 testImplementation 'junit:junit:4.13.2'
53 testImplementation 'org.assertj:assertj-core:3.24.2'
54 testImplementation 'org.mockito:mockito-core:5.8.0'
55}