From b96cf49aaf42f29a932e2cf914267d1ac4d87c4a Mon Sep 17 00:00:00 2001 From: 1e99 <1e99@1e99.eu> Date: Fri, 25 Oct 2024 19:30:30 +0200 Subject: [PATCH] add woodpecker build workflow --- .woodpecker/build.yml | 8 ++++++++ src/main/java/eu/e99/knockbat/KnockBat.java | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 .woodpecker/build.yml diff --git a/.woodpecker/build.yml b/.woodpecker/build.yml new file mode 100644 index 0000000..c3aaaa7 --- /dev/null +++ b/.woodpecker/build.yml @@ -0,0 +1,8 @@ +when: + - event: "push" + +steps: + - name: "build" + image: "gradle:8.10.2-jdk21" + commands: + - "gradle build" diff --git a/src/main/java/eu/e99/knockbat/KnockBat.java b/src/main/java/eu/e99/knockbat/KnockBat.java index 3f672cf..e70880e 100644 --- a/src/main/java/eu/e99/knockbat/KnockBat.java +++ b/src/main/java/eu/e99/knockbat/KnockBat.java @@ -56,4 +56,4 @@ public class KnockBat implements ModInitializer { item ); } -} \ No newline at end of file +}