diff options
author | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2023-06-09 06:34:10 +0000 |
---|---|---|
committer | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2023-06-09 06:34:10 +0000 |
commit | 8b1855bce1313ad84df8f96efdbb62e2acf7ff33 (patch) | |
tree | 94e19efed58b931139a86c7c9c8aced91767e6c3 /build.gradle | |
parent | 333623483246398c76bed4aa5ee5b43c843f65cd (diff) | |
parent | 74b9860784913c097ae59e58b0958da7744ebc2e (diff) |
Merge branch '1227-navigation_graph' into 'main'
1227: use navigation graph component, avoid view (fragments) duplications
See merge request e/os/advanced-privacy!136
Diffstat (limited to 'build.gradle')
-rw-r--r-- | build.gradle | 6 |
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" } |