2021-03-09 09:15:27 +00:00
|
|
|
/*
|
|
|
|
* Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
|
|
|
|
* SPDX-License-Identifier: GPL-3.0-only
|
|
|
|
*/
|
|
|
|
|
2020-09-16 18:17:55 +00:00
|
|
|
plugins {
|
2020-10-16 15:18:11 +00:00
|
|
|
id("com.android.library")
|
2021-02-06 12:04:17 +00:00
|
|
|
id("com.vanniktech.maven.publish")
|
2020-10-16 15:18:11 +00:00
|
|
|
kotlin("android")
|
|
|
|
`aps-plugin`
|
2020-09-20 11:24:38 +00:00
|
|
|
}
|
|
|
|
|
2020-09-16 18:17:55 +00:00
|
|
|
android {
|
|
|
|
defaultConfig {
|
2020-11-03 08:06:17 +00:00
|
|
|
versionCode = 2
|
|
|
|
versionName = "2.0"
|
2020-09-16 18:17:55 +00:00
|
|
|
consumerProguardFiles("consumer-rules.pro")
|
|
|
|
}
|
2020-11-03 08:06:17 +00:00
|
|
|
|
|
|
|
kotlin {
|
|
|
|
explicitApi()
|
|
|
|
}
|
|
|
|
|
|
|
|
kotlinOptions {
|
|
|
|
freeCompilerArgs = freeCompilerArgs + listOf(
|
|
|
|
"-Xexplicit-api=strict"
|
|
|
|
)
|
|
|
|
}
|
2020-09-16 18:17:55 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
2020-09-20 16:18:10 +00:00
|
|
|
compileOnly(Dependencies.AndroidX.annotation)
|
2020-09-16 18:17:55 +00:00
|
|
|
implementation(Dependencies.AndroidX.autofill)
|
|
|
|
implementation(Dependencies.Kotlin.Coroutines.android)
|
|
|
|
implementation(Dependencies.Kotlin.Coroutines.core)
|
|
|
|
implementation(Dependencies.ThirdParty.timberkt)
|
|
|
|
}
|