-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.gradle.kts
More file actions
41 lines (35 loc) · 1.53 KB
/
settings.gradle.kts
File metadata and controls
41 lines (35 loc) · 1.53 KB
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
rootProject.name = "apis"
dependencyResolutionManagement {
repositories {
mavenCentral()
maven {
name = "OneLiteFeatherRepository"
url = uri("https://repo.onelitefeather.dev/onelitefeather")
if (System.getenv("CI") != null) {
credentials {
username = System.getenv("ONELITEFEATHER_MAVEN_USERNAME")
password = System.getenv("ONELITEFEATHER_MAVEN_PASSWORD")
}
} else {
credentials(PasswordCredentials::class)
authentication {
create<BasicAuthentication>("basic")
}
}
}
}
versionCatalogs {
create("libs") {
version("schem", "2.0.1")
version("bom", "1.6.4")
library("bom.base", "net.onelitefeather", "mycelium-bom").versionRef("bom")
library("minestom", "net.minestom", "minestom").withoutVersion()
library("cyano", "net.onelitefeather", "cyano").withoutVersion()
library("junit.api", "org.junit.jupiter", "junit-jupiter-api").withoutVersion()
library("junit.engine", "org.junit.jupiter", "junit-jupiter-engine").withoutVersion()
library("junit.params", "org.junit.jupiter", "junit-jupiter-params").withoutVersion()
library("junit.platform.launcher", "org.junit.platform", "junit-platform-launcher").withoutVersion()
library("schem", "dev.hollowcube", "schem").versionRef("schem")
}
}
}