File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4040 ```txt
4141 ${{ steps.date.outputs.timestamp }}
4242 ```
43- files : |
44- Tokyo/build/libs/*.jar
45- TokyoAPI/build/libs/*.jar
46- TokyoTest/build/libs/*.jar
43+ files : build_Tokyo/*.jar
4744 allow_updates : true
4845 prerelease : true
4946 token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 2929 uses : actions/upload-artifact@v4
3030 with :
3131 name : TokyoBuild
32- path : |
33- Tokyo/build/libs/*.jar
34- TokyoAPI/build/libs/*.jar
35- TokyoTest/build/libs/*.jar
32+ path : build_Tokyo/*.jar
3633 if-no-files-found : error
Original file line number Diff line number Diff line change 1717build
1818gradlew
1919gradlew.bat
20+ build_Tokyo
2021
2122# <= Maven =>
2223target /
Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ dependencies {
3131}
3232
3333tasks {
34-
3534 build {
3635 dependsOn(shadowJar)
3736 dependsOn(publishToMavenLocal)
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ val logbackVersion: String by project
1212val jsonVersion: String by project
1313val zstdVersion: String by project
1414
15-
1615allprojects {
1716 apply (plugin = " java" )
1817 apply (plugin = " checkstyle" )
@@ -34,7 +33,7 @@ allprojects {
3433 }
3534
3635 dependencies {
37- // net.minestom:minestom-snapshots =< 26.2
36+ // net.minestom:minestom =< 26.2
3837 compileOnly(" net.minestom:minestom:$minestomVersion " )
3938 compileOnly(" net.kyori:adventure-text-minimessage:$miniMessageVersion " )
4039
@@ -43,3 +42,9 @@ allprojects {
4342 compileOnly(" org.json:json:${jsonVersion} " )
4443 }
4544}
45+
46+ tasks.register<Copy >(" buildTokyo" ) {
47+ from(subprojects.map { file(" ${it.buildDir} /libs" ) })
48+ into(rootProject.layout.buildDirectory.dir(" $rootDir /build_Tokyo" ))
49+ dependsOn(subprojects.map { it.tasks.build })
50+ }
You can’t perform that action at this time.
0 commit comments