summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle6
1 files changed, 4 insertions, 2 deletions
diff --git a/build.gradle b/build.gradle
index ef02cd9..824c306 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,4 +1,5 @@
/*
+ * Copyright (C) 2023 MURENA SAS
* Copyright (C) 2022 E FOUNDATION
*
* This program is free software: you can redistribute it and/or modify
@@ -49,6 +50,7 @@ buildscript {
dependencies {
classpath Libs.androidGradlePlugin
classpath Libs.Kotlin.gradlePlugin
+ classpath Libs.AndroidX.navigation.safeArgs
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
@@ -65,7 +67,7 @@ allprojects {
//Support @JvmDefault, and @OptIn
tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
kotlinOptions {
- freeCompilerArgs = ['-Xjvm-default=enable', '-opt-in=kotlin.RequiresOptIn']
+ freeCompilerArgs = ['-Xjvm-default=all', '-opt-in=kotlin.RequiresOptIn']
jvmTarget = "1.8"
}
@@ -97,7 +99,7 @@ subprojects {
// Treat all Kotlin warnings as errors
allWarningsAsErrors = true
- freeCompilerArgs += "-Xopt-in=kotlinx.coroutines.ExperimentalCoroutinesApi"
+ freeCompilerArgs += "-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi"
// Set JVM target to 1.8
jvmTarget = "1.8"
}