Skip to content

Commit f33b46f

Browse files
committed
publish to fill
1 parent c43af40 commit f33b46f

File tree

6 files changed

+387
-0
lines changed

6 files changed

+387
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,3 +201,5 @@ run/
201201
# Because Github lost their minds
202202
.idea/
203203
*.iml
204+
205+
.gradle

build.gradle.kts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
import io.papermc.fill.model.BuildChannel
2+
3+
// Waterfall is not a gradle project, we just use gradle to run the fill plugin for uploading artifacts
4+
plugins {
5+
id("io.papermc.fill.gradle") version "1.0.3"
6+
}
7+
8+
fill {
9+
apiUrl("http://localhost:8080")
10+
apiToken("Basic YWRtaW46YWRtaW4=")
11+
12+
project("waterfall")
13+
versionFamily("1.21")
14+
version("1.21")
15+
16+
build {
17+
id = 1
18+
channel = BuildChannel.STABLE
19+
20+
downloads {
21+
register("server:default") {
22+
file = file("Waterfall-Proxy/bootstrap/target/Waterfall.jar")
23+
nameResolver.set { project, _, version, build -> "$project-$version-$build.jar" }
24+
}
25+
for (module in listOf("cmd_alert", "cmd_find", "cmd_kick", "cmd_list", "cmd_send", "cmd_server", "reconnect_yaml")) {
26+
register(module) {
27+
file = file("Waterfall-Proxy/module/${module.replace("_", "-")}/target/$module.jar")
28+
nameResolver.set { _, _, version, build -> "$module-$version-$build.jar" }
29+
}
30+
}
31+
}
32+
}
33+
}

gradle/wrapper/gradle-wrapper.jar

42.7 KB
Binary file not shown.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
distributionBase=GRADLE_USER_HOME
2+
distributionPath=wrapper/dists
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
4+
networkTimeout=10000
5+
validateDistributionUrl=true
6+
zipStoreBase=GRADLE_USER_HOME
7+
zipStorePath=wrapper/dists

gradlew

Lines changed: 251 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 94 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)