44 lines
1.4 KiB
Groovy
44 lines
1.4 KiB
Groovy
apply plugin: 'com.android.library'
|
|
apply plugin: 'org.jetbrains.kotlin.android'
|
|
|
|
dependencies {
|
|
implementation project(":app:core")
|
|
|
|
api "androidx.appcompat:appcompat:${versions.androidxAppCompat}"
|
|
api "androidx.activity:activity:${versions.androidxActivity}"
|
|
api "com.google.android.material:material:${versions.materialComponents}"
|
|
api "androidx.navigation:navigation-fragment:${versions.androidxNavigation}"
|
|
api "androidx.navigation:navigation-ui:${versions.androidxNavigation}"
|
|
api "androidx.lifecycle:lifecycle-livedata-ktx:${versions.androidxLifecycle}"
|
|
|
|
implementation "androidx.core:core-ktx:${versions.androidxCore}"
|
|
implementation "androidx.biometric:biometric:${versions.androidxBiometric}"
|
|
implementation "com.jakewharton.timber:timber:${versions.timber}"
|
|
implementation "org.jetbrains.kotlinx:kotlinx-coroutines-core:${versions.kotlinCoroutines}"
|
|
}
|
|
|
|
android {
|
|
namespace 'com.fsck.k9.ui.base'
|
|
|
|
compileSdkVersion buildConfig.compileSdk
|
|
buildToolsVersion buildConfig.buildTools
|
|
|
|
defaultConfig {
|
|
minSdkVersion buildConfig.minSdk
|
|
targetSdkVersion buildConfig.robolectricSdk
|
|
}
|
|
|
|
lintOptions {
|
|
abortOnError false
|
|
lintConfig file("$rootProject.projectDir/config/lint/lint.xml")
|
|
}
|
|
|
|
compileOptions {
|
|
sourceCompatibility javaVersion
|
|
targetCompatibility javaVersion
|
|
}
|
|
|
|
kotlinOptions {
|
|
jvmTarget = kotlinJvmVersion
|
|
}
|
|
}
|