File tree Expand file tree Collapse file tree 2 files changed +3
-16
lines changed Expand file tree Collapse file tree 2 files changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -11,18 +11,4 @@ dependencies {
11
11
// Netty
12
12
api " io.netty:netty-codec-http:${ project.netty_version} "
13
13
}
14
-
15
- processResources {
16
- final Map properties = Map<String , String > . of(
17
- " modVersion" , project. mod_version,
18
- " supportedMinecraftVersions" , project. supported_minecraft_versions
19
- )
20
-
21
- inputs. properties(properties)
22
-
23
- filesMatching(" fabric.mod.json" ) {
24
- expand(properties)
25
- }
26
-
27
- exclude " .cache/**"
28
- }
14
+ tasks. build. dependsOn(shadowJar)
Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ dependencies {
35
35
// Common
36
36
common project(path : " :common" , configuration : " shadow" )
37
37
}
38
+ tasks. build. dependsOn(shadowJar)
38
39
39
40
processResources {
40
41
final Map properties = Map<String , String > . of(
@@ -55,5 +56,5 @@ tasks.runServer {
55
56
56
57
modrinth {
57
58
loaders = [" paper" ]
58
- uploadFile = jar
59
+ uploadFile = shadowJar
59
60
}
You can’t perform that action at this time.
0 commit comments