forked from uchuhimo/konf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
91 lines (81 loc) · 4.3 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/*
* Copyright (c) 2017-2024 Uchuhimo
* Copyright (c) 2024-present Nicholas Hubbard
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for specific language governing permissions and
* limitations under the License.
*/
pluginManagement {
repositories {
maven("https://maven.solo-studios.ca/releases/")
mavenCentral()
gradlePluginPortal()
}
}
rootProject.name = "konf"
plugins {
id("org.gradle.toolchains.foojay-resolver-convention") version "0.9.0"
id("com.gradle.develocity") version "3.19"
}
develocity {
buildScan {
termsOfUseUrl = "https://gradle.com/terms-of-service"
termsOfUseAgree = "yes"
}
}
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
// Shared versions
version("jackson", "2.17.2")
// WARNING!
// Don't upgrade the GraalVM dependency version!
// The newer versions have different coordinates and a bunch of unusual issues.
// There is no documented fix on non-Graal JDKs.
version("graal", "22.3.5")
// Gradle plugins
plugin("dokka", "org.jetbrains.dokka").version("2.0.0")
plugin("kover", "org.jetbrains.kotlinx.kover").version("0.9.0")
plugin("benchmark", "org.jetbrains.kotlinx.benchmark").version("0.4.13")
plugin("sonatype-publisher", "net.thebugmc.gradle.sonatype-central-portal-publisher").version("1.2.4")
plugin("solo-publisher", "ca.solo-studios.sonatype-publish").version("0.2.3")
// Dependencies
library("kotlinx-coroutines-core", "org.jetbrains.kotlinx", "kotlinx-coroutines-core").version("1.10.1")
library("reflections", "org.reflections", "reflections").version("0.10.2")
library("commons-text", "org.apache.commons", "commons-text").version("1.13.0")
library("jackson-core", "com.fasterxml.jackson.core", "jackson-core").versionRef("jackson")
library("jackson-annotations", "com.fasterxml.jackson.core", "jackson-annotations").versionRef("jackson")
library("jackson-databind", "com.fasterxml.jackson.core", "jackson-databind").versionRef("jackson")
library("jackson-kotlin", "com.fasterxml.jackson.module", "jackson-module-kotlin").versionRef("jackson")
library("jackson-jsr310", "com.fasterxml.jackson.datatype", "jackson-datatype-jsr310").versionRef("jackson")
library("jgit", "org.eclipse.jgit", "org.eclipse.jgit").version("6.10.0.202406032230-r")
library("hocon", "com.typesafe", "config").version("1.4.3")
library("graal-sdk", "org.graalvm.sdk", "graal-sdk").versionRef("graal")
library("graal-js", "org.graalvm.js", "js").versionRef("graal")
library("toml", "com.moandjiezana.toml", "toml4j").version("0.7.2")
library("dom4j", "org.dom4j", "dom4j").version("2.1.4")
library("jaxen", "jaxen", "jaxen").version("2.0.0")
library("snakeyaml", "org.yaml", "snakeyaml").version("2.3")
// Test dependencies
library("junit-jupiter", "org.junit.jupiter", "junit-jupiter").version("5.11.4")
library("junit-params", "org.junit.jupiter", "junit-jupiter-params").version("5.11.4")
library("junit-launcher", "org.junit.platform", "junit-platform-launcher").version("1.11.4")
library("spark", "com.sparkjava", "spark-core").version("2.9.4")
library("slf4j-simple", "org.slf4j", "slf4j-simple").version("2.0.16")
// Benchmark dependencies
library("kotlinx-benchmark-runtime", "org.jetbrains.kotlinx", "kotlinx-benchmark-runtime").version("0.4.13")
// Library bundles
bundle("jackson", listOf("jackson-core", "jackson-annotations", "jackson-databind", "jackson-kotlin", "jackson-jsr310"))
bundle("graal", listOf("graal-sdk", "graal-js"))
}
}
}