-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
43 lines (39 loc) · 1.19 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
enableFeaturePreview("VERSION_CATALOGS")
pluginManagement {
repositories {
mavenCentral()
gradlePluginPortal()
maven("https://repo.racci.dev/releases")
// TODO: Fix the standing issue in Minix Conventions so we don't need to add this.
maven("https://papermc.io/repo/repository/maven-public/")
}
plugins {
val kotlinVersion: String by settings
kotlin("plugin.serialization") version kotlinVersion
id("org.jetbrains.dokka") version kotlinVersion
id("com.github.johnrengelman.shadow") version "7.1.2"
}
val minixConventions: String by settings
resolutionStrategy {
eachPlugin {
if (requested.id.id.startsWith("dev.racci.minix")) {
useVersion(minixConventions)
}
}
}
}
rootProject.name = "ElixirBot"
dependencyResolutionManagement {
repositories {
maven("https://repo.racci.dev/releases")
}
versionCatalogs {
create("libs") {
val minixConventions: String by settings
from("dev.racci:catalog:$minixConventions")
}
create("eLib") {
from(files("libs.versions.toml"))
}
}
}