Skip to content

Commit b02c73b

Browse files
committed
build: Make non-mod deps compileOnly
1 parent a7cc8f3 commit b02c73b

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

build.gradle.kts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ minecraft_fp {
6161
}
6262

6363
tasks.processResources.configure {
64-
from(configurations.runtimeClasspath.map { it.filter { file -> file.name.contains("megatraceservice") } }) {
64+
from(configurations.compileClasspath.map { it.filter { file -> file.name.contains("megatraceservice") } }) {
6565
into("META-INF/falsepatternlib_repo/mega/megatraceservice/1.2.0/")
6666
}
6767
}
@@ -81,9 +81,9 @@ repositories {
8181

8282
dependencies {
8383
implementationSplit("com.falsepattern:falsepatternlib-mc1.7.10:1.9.0")
84-
implementation("org.joml:joml:1.10.8")
85-
implementation("it.unimi.dsi:fastutil:8.5.16")
86-
implementation("mega:megatraceservice:1.2.0")
84+
compileOnly("org.joml:joml:1.10.8")
85+
compileOnly("it.unimi.dsi:fastutil:8.5.16")
86+
compileOnly("mega:megatraceservice:1.2.0")
8787
compileOnly("com.ventooth:swansong-mc1.7.10:1.0.0:dev")
8888
compileOnly("maven.modrinth:etfuturum:2.6.2:dev")
8989

src/main/resources/META-INF/deps.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@
55
],
66
"dependencies": {
77
"always": {
8-
"common": [],
9-
"client": [],
10-
"server": []
11-
},
12-
"obf": {
138
"common": [
149
"org.joml:joml:1.10.8",
1510
"it.unimi.dsi:fastutil:8.5.16",
@@ -18,6 +13,11 @@
1813
"client": [],
1914
"server": []
2015
},
16+
"obf": {
17+
"common": [],
18+
"client": [],
19+
"server": []
20+
},
2121
"dev": {
2222
"common": [],
2323
"client": [],

0 commit comments

Comments
 (0)