Added toml to be able to be used in core
This commit is contained in:
@@ -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}")
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -26,8 +26,4 @@ publishing {
|
||||
repositories {
|
||||
// Add repositories to publish to here.
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("com.electronwill.night-config:toml:${rootProject.toml_version}")
|
||||
}
|
||||
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user