]>
Commit | Line | Data |
---|---|---|
a50f3037 TB |
1 | apply plugin: 'com.android.application' |
2 | ||
3 | android { | |
6ab9297b TB |
4 | namespace 'org.strongswan.android' |
5 | ||
a50f3037 TB |
6 | defaultConfig { |
7 | applicationId "org.strongswan.android" | |
1cab544c | 8 | compileSdk 34 |
f959157d | 9 | minSdkVersion 21 |
dfbafffc | 10 | targetSdkVersion 33 |
7db629e4 | 11 | |
b21178b4 TB |
12 | versionCode 82 |
13 | versionName "2.5.1" | |
a50f3037 | 14 | |
1cab544c TB |
15 | externalNativeBuild { |
16 | ndkBuild { | |
17 | arguments '-j' + Runtime.runtime.availableProcessors() | |
18 | } | |
19 | } | |
a50f3037 TB |
20 | } |
21 | ||
1cab544c | 22 | ndkVersion "26.1.10909125" |
a50f3037 | 23 | |
1cab544c TB |
24 | externalNativeBuild { |
25 | ndkBuild { | |
26 | path 'src/main/jni/Android.mk' | |
27 | } | |
a50f3037 TB |
28 | } |
29 | ||
1cab544c TB |
30 | tasks.withType(JavaCompile).configureEach { |
31 | compileTask -> | |
32 | options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation" | |
a50f3037 TB |
33 | } |
34 | ||
a50f3037 TB |
35 | buildTypes { |
36 | release { | |
37 | minifyEnabled false | |
38 | proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt' | |
39 | } | |
40 | } | |
a5f56564 TB |
41 | compileOptions { |
42 | targetCompatibility 1.8 | |
43 | sourceCompatibility 1.8 | |
44 | } | |
a50f3037 | 45 | } |
3af7e092 TB |
46 | |
47 | dependencies { | |
1cab544c | 48 | implementation 'androidx.appcompat:appcompat:1.6.1' |
36f62585 | 49 | implementation 'androidx.lifecycle:lifecycle-process:2.7.0' |
1cab544c | 50 | implementation 'androidx.preference:preference:1.2.1' |
1cab544c | 51 | implementation 'com.google.android.material:material:1.10.0' |
58310099 | 52 | testImplementation 'junit:junit:4.13.2' |
9cb23f65 | 53 | testImplementation 'org.assertj:assertj-core:3.24.2' |
980491eb | 54 | testImplementation 'org.mockito:mockito-core:5.8.0' |
3af7e092 | 55 | } |