aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorFabian Henneke <FabianHenneke@users.noreply.github.com>2020-04-16 12:20:45 +0200
committerGitHub <noreply@github.com>2020-04-16 12:20:45 +0200
commite4aa673537f198034755ed1113754fbbe05b0138 (patch)
treeb2f6ca4f45dc02259b0a39cfab9ffdf2f61adc74 /build.gradle
parent2a6326ec0ea04ceade7e56749b4cd09f810a34a7 (diff)
Reduce build warnings (#712)
* Add annotations to and reformat SearchableRepositoryViewModel.kt * Address build warnings other than meaningful deprecations * Deal with warnings in UserPreference.kt
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle1
1 files changed, 1 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 15c49cf0..2120b6f9 100644
--- a/build.gradle
+++ b/build.gradle
@@ -65,6 +65,7 @@ subprojects {
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile) {
kotlinOptions {
jvmTarget = '1.8'
+ freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
}
}
}