-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.gradle.kts
32 lines (28 loc) · 924 Bytes
/
build.gradle.kts
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
plugins {
`kotlin-dsl`
}
apply(plugin = "com.github.ben-manes.versions")
allprojects {
repositories {
google()
mavenCentral()
mavenLocal()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
// afterEvaluate {
// tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
// kotlinOptions {
// useIR = true
// if (configurations.findByName("kotlinCompilerPluginClasspath")
// ?.dependencies
// ?.any { it.group == "androidx.compose.compiler" } == true
// ) {
// freeCompilerArgs += listOf(
// "-P",
// "plugin:androidx.compose.compiler.plugins.kotlin:suppressKotlinVersionCompatibilityCheck=true"
// )
// }
// }
// }
// }
}