Reorganize crypto-common code and fix a couple minor bugs (#1868)
This commit is contained in:
parent
599abd37e8
commit
62902ca80b
7 changed files with 60 additions and 46 deletions
|
@ -10,8 +10,10 @@ plugins { id("com.github.android-password-store.kotlin-common") }
|
|||
|
||||
tasks.withType<KotlinCompile>().configureEach {
|
||||
kotlinOptions {
|
||||
if (!name.contains("test", ignoreCase = true)) {
|
||||
freeCompilerArgs += listOf("-Xexplicit-api=strict")
|
||||
if (project.providers.gradleProperty("android.injected.invoked.from.ide").orNull != "true") {
|
||||
if (!name.contains("test", ignoreCase = true)) {
|
||||
freeCompilerArgs = freeCompilerArgs + listOf("-Xexplicit-api=strict")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue