Skip to content

Commit

Permalink
Fix multiple quilt config classes being on the classpath, leading to …
Browse files Browse the repository at this point in the history
…some classes being missing. (#407)
  • Loading branch information
AlexIIL authored Feb 18, 2024
1 parent 5134f89 commit 5837550
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 18 deletions.
10 changes: 8 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ sourceSets {
}

configurations {
include
include {
transitive = false
}

implementation {
extendsFrom include
Expand Down Expand Up @@ -111,13 +113,17 @@ dependencies {
include "org.quiltmc.quilt-config.serializers:json5:${project.quilt_config}"
api "org.quiltmc:quilt-config:${project.quilt_config}"

include "com.electronwill.night-config:core:${project.night_config}"
include "com.electronwill.night-config:toml:${project.night_config}"
shadow "com.electronwill.night-config:core:${project.night_config}"
shadow "com.electronwill.night-config:toml:${project.night_config}"

development "io.github.llamalad7:mixinextras-fabric:$mixin_extras"

// also must update in minecraft AND minecraft test
compileOnly "org.quiltmc.chasm:chasm:${project.quilt_chasm}"
compileOnly "org.quiltmc.chasm:chassembly:${project.quilt_chasm}"


shadow "org.quiltmc.quilt-config.serializers:toml:${project.quilt_config}"
shadow "org.quiltmc.quilt-config.serializers:json5:${project.quilt_config}"
shadow "org.quiltmc.parsers:json:${project.quilt_parsers}"
Expand Down
8 changes: 0 additions & 8 deletions src/main/resources/fabric-installer.launchwrapper.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,6 @@
{
"name": "org.quiltmc:quilt-config:${quilt_config}",
"url": "https://maven.quiltmc.org/repository/release/"
},
{
"name": "org.quiltmc.quilt-config.serializers:json5:${quilt_config}",
"url": "https://maven.quiltmc.org/repository/release/"
},
{
"name": "org.quiltmc.quilt-config.serializers:toml:${quilt_config}",
"url": "https://maven.quiltmc.org/repository/release/"
}
],
"server": [
Expand Down
8 changes: 0 additions & 8 deletions src/main/resources/quilt_installer.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,6 @@
{
"name": "org.quiltmc:quilt-config:${quilt_config}",
"url": "https://maven.quiltmc.org/repository/release/"
},
{
"name": "org.quiltmc.quilt-config.serializers:json5:${quilt_config}",
"url": "https://maven.quiltmc.org/repository/release/"
},
{
"name": "org.quiltmc.quilt-config.serializers:toml:${quilt_config}",
"url": "https://maven.quiltmc.org/repository/release/"
}
],
"server": [
Expand Down

0 comments on commit 5837550

Please sign in to comment.