-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle.kts
43 lines (37 loc) · 1.21 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
plugins {
// this is necessary to avoid the plugins to be loaded multiple times
// in each subproject's classloader
alias(libs.plugins.composeMultiplatform) apply false
alias(libs.plugins.composeCompiler) apply false
alias(libs.plugins.kotlinMultiplatform) apply false
alias(libs.plugins.kapt) apply false
//TODO STEFAN where's this go?
// kotlin("kapt") version "2.0.10"
}
//buildscript {
// repositories {
// google()
// mavenCentral()
// }
// dependencies {
// classpath("com.squareup.sqldelight:gradle-plugin:1.5.3")
// }
//}
//kapt {
// correctErrorTypes = true
//}
//
//
//tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile>().configureEach {
// kotlinOptions.freeCompilerArgs += "-opt-in=kotlin.time.ExperimentalTime"
// kotlinOptions.freeCompilerArgs += "-opt-in=kotlinx.coroutines.ExperimentalCoroutinesApi"
// kotlinOptions.freeCompilerArgs += "-opt-in=kotlin.ExperimentalUnsignedTypes"
// kotlinOptions.freeCompilerArgs += "-opt-in=androidx.compose.ui.ExperimentalComposeUiApi"
//}
//
// TODO STEFAN can we remove this?
//tasks.withType<Jar> {
// manifest {
// attributes["Main-Class"] = "ca.stefanm.ComposeMain"
// }
//}