-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle.kts
38 lines (31 loc) · 1.08 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
pluginManagement {
val kotlinVersion: String by settings
val idofrontVersion: String by settings
val composeVersion: String by settings
repositories {
gradlePluginPortal()
maven("https://repo.mineinabyss.com/releases")
maven("https://papermc.io/repo/repository/maven-public/")
google()
}
plugins {
kotlin("jvm") version kotlinVersion
kotlin("plugin.serialization") version kotlinVersion
id("org.jetbrains.dokka") version kotlinVersion
id("org.jetbrains.compose") version composeVersion
}
resolutionStrategy.eachPlugin {
if (requested.id.id.startsWith("com.mineinabyss.conventions")) useVersion(idofrontVersion)
}
}
rootProject.name = "plugin-template"
dependencyResolutionManagement {
val idofrontVersion: String by settings
repositories {
maven("https://repo.mineinabyss.com/releases")
}
versionCatalogs {
create("libs").from("com.mineinabyss:catalog:$idofrontVersion")
create("pluginLibs").from(files("gradle/pluginLibs.versions.toml"))
}
}