crypto-pgpainless: prepare for error handling (#1877)

This commit is contained in:
Harsh Shandilya 2022-04-27 22:32:36 +05:30 committed by GitHub
parent b8b0693642
commit d4a4ac06ed
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 98 additions and 44 deletions

View file

@ -10,10 +10,8 @@ plugins { id("com.github.android-password-store.kotlin-common") }
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions {
if (project.providers.gradleProperty("android.injected.invoked.from.ide").orNull != "true") {
if (!name.contains("test", ignoreCase = true)) {
freeCompilerArgs = freeCompilerArgs + listOf("-Xexplicit-api=strict")
}
if (!name.contains("test", ignoreCase = true)) {
freeCompilerArgs += listOf("-Xexplicit-api=strict")
}
}
}