-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
49 lines (42 loc) · 2 KB
/
settings.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
47
48
49
rootProject.name = "devtools"
include(":main")
pluginManagement {
repositories {
gradlePluginPortal()
google()
mavenCentral()
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
}
}
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
}
versionCatalogs {
create("libs") {
val versions = object {
val java = version("java", "20")
val kotlin = version("kotlin", "2.0.20")
val junit = version("junit", "5.11.0")
val coroutines = version("coroutines", "1.8.1")
val compose = version("compose.jetbrains", "1.6.11")
val serialization = object {
val plugin = version("serialization.plugin", "2.0.20")
val dependency = version("serialization.dependency", "1.7.1")
}
val jdom = version("jdom", "2.0.6.1")
}
plugin("kotlin.jvm", "org.jetbrains.kotlin.jvm").versionRef(versions.kotlin)
plugin("compose.jetbrains", "org.jetbrains.compose").versionRef(versions.compose)
plugin("serialization", "org.jetbrains.kotlin.plugin.serialization").versionRef(versions.serialization.plugin)
plugin("compose.compiler", "org.jetbrains.kotlin.plugin.compose").versionRef(versions.kotlin)
library("junit.api", "org.junit.jupiter", "junit-jupiter-api").versionRef(versions.junit)
library("junit.engine", "org.junit.jupiter", "junit-jupiter-engine").versionRef(versions.junit)
library("coroutines.core", "org.jetbrains.kotlinx", "kotlinx-coroutines-core").versionRef(versions.coroutines)
library("serialization", "org.jetbrains.kotlinx", "kotlinx-serialization-json").versionRef(versions.serialization.dependency)
library("jdom", "org.jdom", "jdom2").versionRef(versions.jdom)
}
}
}