aboutsummaryrefslogtreecommitdiff
path: root/build-logic/kotlin-plugins/src/main
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-04-27 22:32:36 +0530
committerGitHub <noreply@github.com>2022-04-27 17:02:36 +0000
commitd4a4ac06ed419221d3a1f967ca3a66b1e163ddb8 (patch)
tree8f501a3443e4fb422a213fc169f198f23e4fc511 /build-logic/kotlin-plugins/src/main
parentb8b069364289421a875bdc6227c8554161e26183 (diff)
crypto-pgpainless: prepare for error handling (#1877)
Diffstat (limited to 'build-logic/kotlin-plugins/src/main')
-rw-r--r--build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-library.gradle.kts6
1 files changed, 2 insertions, 4 deletions
diff --git a/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-library.gradle.kts b/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-library.gradle.kts
index ecd7f23e..516f5e4f 100644
--- a/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-library.gradle.kts
+++ b/build-logic/kotlin-plugins/src/main/kotlin/com.github.android-password-store.kotlin-library.gradle.kts
@@ -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")
}
}
}