diff --git a/.gradle/7.4/checksums/checksums.lock b/.gradle/7.4/checksums/checksums.lock index 71e49cd..e3eca5f 100644 Binary files a/.gradle/7.4/checksums/checksums.lock and b/.gradle/7.4/checksums/checksums.lock differ diff --git a/.gradle/7.4/checksums/md5-checksums.bin b/.gradle/7.4/checksums/md5-checksums.bin index be3989c..11464e3 100644 Binary files a/.gradle/7.4/checksums/md5-checksums.bin and b/.gradle/7.4/checksums/md5-checksums.bin differ diff --git a/.gradle/7.4/checksums/sha1-checksums.bin b/.gradle/7.4/checksums/sha1-checksums.bin index 57cf0be..af832a7 100644 Binary files a/.gradle/7.4/checksums/sha1-checksums.bin and b/.gradle/7.4/checksums/sha1-checksums.bin differ diff --git a/.gradle/7.4/executionHistory/executionHistory.bin b/.gradle/7.4/executionHistory/executionHistory.bin index 16e685c..b78fcb2 100644 Binary files a/.gradle/7.4/executionHistory/executionHistory.bin and b/.gradle/7.4/executionHistory/executionHistory.bin differ diff --git a/.gradle/7.4/executionHistory/executionHistory.lock b/.gradle/7.4/executionHistory/executionHistory.lock index df96210..831862e 100644 Binary files a/.gradle/7.4/executionHistory/executionHistory.lock and b/.gradle/7.4/executionHistory/executionHistory.lock differ diff --git a/.gradle/7.4/fileHashes/fileHashes.bin b/.gradle/7.4/fileHashes/fileHashes.bin index 405b1dc..8a816dc 100644 Binary files a/.gradle/7.4/fileHashes/fileHashes.bin and b/.gradle/7.4/fileHashes/fileHashes.bin differ diff --git a/.gradle/7.4/fileHashes/fileHashes.lock b/.gradle/7.4/fileHashes/fileHashes.lock index b4bfd38..7b98da8 100644 Binary files a/.gradle/7.4/fileHashes/fileHashes.lock and b/.gradle/7.4/fileHashes/fileHashes.lock differ diff --git a/.gradle/7.4/fileHashes/resourceHashesCache.bin b/.gradle/7.4/fileHashes/resourceHashesCache.bin index 440371f..4c6c6d6 100644 Binary files a/.gradle/7.4/fileHashes/resourceHashesCache.bin and b/.gradle/7.4/fileHashes/resourceHashesCache.bin differ diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock index aced67e..7728a6b 100644 Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/.gradle/file-system.probe b/.gradle/file-system.probe index d999f17..5432bf3 100644 Binary files a/.gradle/file-system.probe and b/.gradle/file-system.probe differ diff --git a/.idea/misc.xml b/.idea/misc.xml index d2cf143..24e284c 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -1,7 +1,7 @@ - + \ No newline at end of file diff --git a/build.gradle b/build.gradle index 1e603cd..0f1b612 100644 --- a/build.gradle +++ b/build.gradle @@ -3,6 +3,11 @@ plugins { id 'application' } +apply plugin : "java" +ext { + javaMainClass = "com.calebfontenot.Main" +} + group 'com.calebfontenot' version '1.0-SNAPSHOT' @@ -26,7 +31,7 @@ test { } application { - mainClassName = project.hasProperty("mainClass") ? project.getProperty("mainClass") : "NULL" + mainClassName = javaMainClass } jar { manifest { diff --git a/build/classes/java/main/com/calebfontenot/Main.class b/build/classes/java/main/com/calebfontenot/Main.class index 375f581..e9e13b9 100644 Binary files a/build/classes/java/main/com/calebfontenot/Main.class and b/build/classes/java/main/com/calebfontenot/Main.class differ diff --git a/build/tmp/compileJava/previous-compilation-data.bin b/build/tmp/compileJava/previous-compilation-data.bin index e143740..6068064 100644 Binary files a/build/tmp/compileJava/previous-compilation-data.bin and b/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/src/main/java/com/calebfontenot/Main.java b/src/main/java/com/calebfontenot/Main.java index f07f46c..56e0cfc 100644 --- a/src/main/java/com/calebfontenot/Main.java +++ b/src/main/java/com/calebfontenot/Main.java @@ -7,6 +7,9 @@ import org.json.*; public class Main { public static void main(String[] args) throws Exception { + for (int i = 0; i < args.length; i++) { + System.out.println("args used: " + args[i]); + } System.out.println("CURLing API..."); URL url = new URL("https://api.papermc.io/v2/projects"); @@ -18,6 +21,7 @@ public class Main { for (int i = 0; i < projects.length() - 1; i++) { System.out.println(projects.get(i)); } + } } }