aboutsummaryrefslogtreecommitdiff
path: root/buildSrc/src/main/java/KotlinCompilerArgs.kt
diff options
context:
space:
mode:
authorHarsh Shandilya <msfjarvis@gmail.com>2020-10-16 20:48:11 +0530
committerGitHub <noreply@github.com>2020-10-16 17:18:11 +0200
commit6c1e41ba1050c92f4b615f7e857e0d085120a242 (patch)
tree5be0bc1e6c1a2afeda9ba9566c12a791302b7918 /buildSrc/src/main/java/KotlinCompilerArgs.kt
parent92f1aab25da12411aa256c3b763e0cb6182e9320 (diff)
Revamp build configuration (#1156)
* release: move scripts to scripts directory Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Move CI secrets to secrets directory Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * gradle: uprev to 6.7 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * gradle: suppress warnings about unsupported options Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: update dependencies Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: move Gradle plugins to ext Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * build: move configuration tasks to buildSrc Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * CHANGELOG: add entry for #1137 Signed-off-by: Harsh Shandilya <me@msfjarvis.dev> * Fix lint warnings Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'buildSrc/src/main/java/KotlinCompilerArgs.kt')
-rw-r--r--buildSrc/src/main/java/KotlinCompilerArgs.kt8
1 files changed, 8 insertions, 0 deletions
diff --git a/buildSrc/src/main/java/KotlinCompilerArgs.kt b/buildSrc/src/main/java/KotlinCompilerArgs.kt
new file mode 100644
index 00000000..b4931917
--- /dev/null
+++ b/buildSrc/src/main/java/KotlinCompilerArgs.kt
@@ -0,0 +1,8 @@
+/*
+ * Copyright © 2014-2020 The Android Password Store Authors. All Rights Reserved.
+ * SPDX-License-Identifier: GPL-3.0-only
+ */
+
+internal val additionalCompilerArgs = listOf(
+ "-Xopt-in=kotlin.RequiresOptIn"
+)