diff --git a/.github/workflows/build-prs.yml b/.github/workflows/build-prs.yml index 209a4c0..ff68843 100644 --- a/.github/workflows/build-prs.yml +++ b/.github/workflows/build-prs.yml @@ -17,4 +17,4 @@ jobs: uses: neoforged/actions/.github/workflows/build-prs.yml@main with: java: 8 - gradle_tasks: test \ No newline at end of file + gradle_tasks: test '-Psome.thing=abcd' diff --git a/build.gradle b/build.gradle index f079243..fe7b9c4 100644 --- a/build.gradle +++ b/build.gradle @@ -15,6 +15,8 @@ changelog { from '1.0' } +println(project.properties.get('some.thing')) + println("Version: ${version = gradleutils.version}") publishing { diff --git a/src/main/java/net/neoforged/dummytesting/Main.java b/src/main/java/net/neoforged/dummytesting/Main.java index 25a2f8c..13bd2bc 100644 --- a/src/main/java/net/neoforged/dummytesting/Main.java +++ b/src/main/java/net/neoforged/dummytesting/Main.java @@ -6,6 +6,7 @@ public class Main { public static void main(String[] args) { System.out.println("Sum: " + add(Stream.of(args).mapToInt(Integer::valueOf).toArray())); + System.out.println("It's actually that, trust me bro. shipiy"); } public static int add(int... values) {