Added toml to be able to be used in core

This commit is contained in:
coolGi2007
2022-02-07 09:14:08 +10:30
parent e5722c19a9
commit 30a636c840
3 changed files with 3 additions and 5 deletions
+3
View File
@@ -39,6 +39,9 @@ subprojects { p ->
// We depend on fabric loader here to use the fabric @Environment annotations and get the mixin dependencies
// Do NOT use other classes from fabric loader unless working with fabric
modImplementation "net.fabricmc:fabric-loader:${rootProject.fabric_loader_version}"
// Forge already comes with night config so dont implement it there
implementation("com.electronwill.night-config:toml:${rootProject.toml_version}")
}
-4
View File
@@ -26,8 +26,4 @@ publishing {
repositories {
// Add repositories to publish to here.
}
}
dependencies {
implementation("com.electronwill.night-config:toml:${rootProject.toml_version}")
}
-1
View File
@@ -73,7 +73,6 @@ dependencies {
// Toml
implementation("com.electronwill.night-config:toml:${rootProject.toml_version}")
shadowMe("com.electronwill.night-config:toml:${rootProject.toml_version}") {}
common(project(path: ":common", configuration: "namedElements")) { transitive false }