File tree Expand file tree Collapse file tree 3 files changed +15
-6
lines changed
Expand file tree Collapse file tree 3 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,29 @@ plugins {
66group ' com.fox2code'
77version project[' foxloader.version' ]
88
9+ configurations {
10+ include
11+ compileOnly. extendsFrom(include)
12+ }
13+
914dependencies {
1015 compileOnly gradleApi()
1116 compileOnly localGroovy()
1217 // Cannot use quilt flower 1.9+ cause it require java 11
1318 api ' com.github.QuiltMC:quiltflower:1.8.1'
1419 api ' com.google.code.gson:gson:2.2.4'
1520 api ' org.ow2.asm:asm-commons:9.4'
16- api (project(" :common" )) {
21+ include (project(" :common" )) {
1722 transitive = false
1823 }
1924}
2025
2126jar. dependsOn(" :common:jar" )
27+
28+ afterEvaluate {
29+ jar {
30+ from(configurations. include. collect { it. isDirectory() ? it : zipTree(it) }) {
31+ exclude(" module-info.class" )
32+ }
33+ }
34+ }
Original file line number Diff line number Diff line change @@ -17,16 +17,12 @@ dependencies {
1717 include(project(" :server" )) {
1818 transitive = false
1919 }
20- include(project(" :dev" )) {
21- transitive = false
22- }
2320}
2421
2522jar. dependsOn(" :betacraft:jar" )
2623jar. dependsOn(" :client:jar" )
2724jar. dependsOn(" :common:jar" )
2825jar. dependsOn(" :server:jar" )
29- jar. dependsOn(" :dev:jar" )
3026
3127jar {
3228 from " LICENSE"
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ org.gradle.parallel=true
33org.gradle.jvmargs =-Xmx1024m -XX:-UseGCOverheadLimit -Dfile.encoding=UTF-8
44
55# FoxLoader properties
6- foxloader.version =0.1.4
6+ foxloader.version =0.1.5
77
88# ReIndev properties
99reindev.clientUrl =https://cdn.fox2code.com/files/reindev_2.8_patched.jar
You can’t perform that action at this time.
0 commit comments