-
Notifications
You must be signed in to change notification settings - Fork 55
/
Copy pathbuild.gradle.kts
46 lines (38 loc) · 1.23 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
44
45
46
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
allprojects {
version = "1.0.0-SNAPSHOT"
repositories {
google()
mavenCentral()
maven("https://maven.waltid.dev/releases")
maven("https://jitpack.io")
}
}
plugins {
val kotlinVersion = "2.1.0"
kotlin("multiplatform") version kotlinVersion apply false
kotlin("jvm") version kotlinVersion
kotlin("plugin.power-assert") version kotlinVersion apply false
kotlin("plugin.compose") version kotlinVersion apply false
kotlin("plugin.serialization") version kotlinVersion apply false
id("love.forte.plugin.suspend-transform") version "2.1.0-0.10.0" apply false
id("com.android.library") version "8.7.3" apply false
id("com.android.application") version "8.7.3" apply false
id("com.github.ben-manes.versions") version "0.51.0" apply false
}
dependencies {
implementation(kotlin("stdlib"))
}
repositories {
mavenCentral()
}
kotlin {
jvmToolchain(8)
}
allprojects {
tasks.withType<DependencyUpdatesTask> {
rejectVersionIf {
listOf("-beta", "-alpha", "-rc").any { it in candidate.version.lowercase() } || candidate.version.takeLast(4).contains("RC")
}
}
}