mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-21 17:41:50 -08:00
57 lines
1.3 KiB
Groovy
57 lines
1.3 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'kotlin-android'
|
|
apply plugin: 'kotlin-parcelize'
|
|
|
|
android {
|
|
namespace 'com.kunzisoft.keepass.database'
|
|
compileSdkVersion 36
|
|
|
|
defaultConfig {
|
|
minSdkVersion 19
|
|
targetSdk 35
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
}
|
|
}
|
|
|
|
compileOptions {
|
|
targetCompatibility JavaVersion.VERSION_17
|
|
sourceCompatibility JavaVersion.VERSION_17
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = "17"
|
|
}
|
|
|
|
testOptions {
|
|
unitTests {
|
|
includeAndroidResources = true
|
|
}
|
|
}
|
|
|
|
packaging {
|
|
// Bouncy castle bug https://github.com/bcgit/bc-java/issues/1685
|
|
resources.pickFirsts.add('META-INF/versions/9/OSGI-INF/MANIFEST.MF')
|
|
}
|
|
}
|
|
|
|
dependencies {
|
|
// Time
|
|
implementation "joda-time:joda-time:$joda_time_version"
|
|
// Apache Commons
|
|
implementation "commons-io:commons-io:$commons_io_version"
|
|
implementation "commons-codec:commons-codec:$commons_codec_version"
|
|
|
|
api project(path: ':crypto')
|
|
|
|
// Tests
|
|
androidTestImplementation "androidx.test:runner:$android_test_version"
|
|
testImplementation "junit:junit:4.13.2"
|
|
testImplementation "org.robolectric:robolectric:4.11.1"
|
|
}
|