-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
35 lines (30 loc) · 993 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
33
34
35
import org.jetbrains.kotlin.gradle.dsl.KotlinVersion
import org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask
group = "com.lizhaotailang.packman"
version = "1.0-SNAPSHOT"
buildscript {
repositories {
google()
gradlePluginPortal()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
dependencies {
classpath(libs.android.gradlePlugin)
classpath(libs.kotlin.gradlePlugin)
classpath(libs.compose.multiplatformPlugin)
classpath(libs.kotlin.serialization.gradlePlugin)
classpath(libs.build.konfig)
classpath(libs.realm.gradlePlugin)
}
}
allprojects {
apply(plugin = "com.lizhaotailang.packman.spotless")
tasks.withType<KotlinCompilationTask<*>>()
.configureEach {
compilerOptions {
languageVersion.set(KotlinVersion.KOTLIN_1_9)
freeCompilerArgs.add("-Xskip-prerelease-check")
}
}
}