-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
34 lines (31 loc) · 1.32 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
ext {
minSdkVersion = 29
targetSdkVersion = 33
compileSdkVersion = 34
}
}
plugins { // sets class paths only (because of 'apply false')
alias libs.plugins.androidApplication apply false
alias libs.plugins.androidLibrary apply false
alias libs.plugins.jetbrainsKotlinAndroid apply false
alias libs.plugins.kotlinSerialization apply false
alias libs.plugins.hilt apply false
alias libs.plugins.ksp apply false
alias libs.plugins.googleServices apply false
alias libs.plugins.firebaseCrashlyticsPlugin apply false
alias libs.plugins.compose.compiler apply false
}
allprojects {
tasks.withType(KotlinCompile).configureEach {
compilerOptions {
freeCompilerArgs.add("-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi")
freeCompilerArgs.add("-opt-in=androidx.compose.foundation.ExperimentalFoundationApi")
freeCompilerArgs.add("-opt-in=androidx.compose.ui.ExperimentalComposeUiApi")
freeCompilerArgs.add("-opt-in=androidx.compose.material3.ExperimentalMaterial3Api")
freeCompilerArgs.add("-opt-in=androidx.compose.ui.text.ExperimentalTextApi")
freeCompilerArgs.add("-opt-in=androidx.media3.common.util.UnstableApi")
}
}
}