forked from walt-id/waltid-identity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
43 lines (35 loc) · 1.04 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
import com.github.benmanes.gradle.versions.updates.DependencyUpdatesTask
allprojects {
version = "1.0.0-SNAPSHOT"
repositories {
google()
mavenCentral()
maven(url = "https://maven.walt.id/repository/waltid/")
maven(url = "https://jitpack.io")
}
}
plugins {
val kotlinVersion = "1.9.24"
kotlin("multiplatform") version kotlinVersion apply false
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion apply false
id("com.android.library") version "8.2.0" apply false
id("com.android.application") version "8.2.0" apply false
id("com.github.ben-manes.versions") version "0.49.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")
}
}
}