forked from lavalink-devs/lavaplayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle.kts
61 lines (50 loc) · 2.05 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
rootProject.name = "lavaplayer"
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
include(
":common",
":main",
":extensions",
":extensions:youtube-rotator",
":extensions:format-xm",
":natives",
":natives-publish",
":testbot"
)
// https://github.com/gradle/gradle/issues/19254
project(":extensions").name = "extensions-project"
dependencyResolutionManagement {
versionCatalogs {
create("libs") {
plugins()
common()
others()
test()
}
}
}
fun VersionCatalogBuilder.plugins() {
val mavenPublishPlugin = version("maven-publish-plugin", "0.25.3")
plugin("maven-publish", "com.vanniktech.maven.publish").versionRef(mavenPublishPlugin)
plugin("maven-publish-base", "com.vanniktech.maven.publish.base").versionRef(mavenPublishPlugin)
}
fun VersionCatalogBuilder.common() {
library("slf4j", "org.slf4j", "slf4j-api").version("2.0.7")
library("commons-io", "commons-io", "commons-io").version("2.13.0")
library("intellij-annotations", "org.jetbrains", "annotations").version("24.0.0")
version("jackson", "2.15.2")
library("jackson-core", "com.fasterxml.jackson.core", "jackson-core").versionRef("jackson")
library("jackson-databind", "com.fasterxml.jackson.core", "jackson-databind").versionRef("jackson")
library("httpclient", "org.apache.httpcomponents", "httpclient").version("4.5.14")
library("jsoup", "org.jsoup", "jsoup").version("1.16.1")
library("base64", "net.iharder", "base64").version("2.3.9")
library("json", "org.json", "json").version("20240303")
}
fun VersionCatalogBuilder.others() {
library("ibxm-fork", "com.github.walkyst", "ibxm-fork").version("a75")
library("rhino-engine", "org.mozilla", "rhino-engine").version("1.7.14")
}
fun VersionCatalogBuilder.test() {
library("groovy", "org.apache.groovy", "groovy").version("4.0.13")
library("spock-core", "org.spockframework", "spock-core").version("2.4-M1-groovy-4.0")
library("logback-classic", "ch.qos.logback", "logback-classic").version("1.4.8")
}