From 155094e47602af53f7dc90b6ad9ab813af514221 Mon Sep 17 00:00:00 2001 From: Sven Heidemann Date: Thu, 12 Jan 2023 20:32:55 +0100 Subject: [PATCH] Added maven project --- .gitignore | 5 + LICENSE | 2 +- kd_ontime_handler_spigot.iml | 8 ++ pom.xml | 90 ++++++++++++++++++ src/main/kotlin/Main.kt | 7 ++ .../kd_ontime_handler_spigot.kotlin_module | Bin 0 -> 36 bytes target/maven-archiver/pom.properties | 5 + .../compile/default-compile/inputFiles.lst | 0 .../default-testCompile/inputFiles.lst | 0 9 files changed, 116 insertions(+), 1 deletion(-) create mode 100644 kd_ontime_handler_spigot.iml create mode 100644 pom.xml create mode 100644 src/main/kotlin/Main.kt create mode 100644 target/classes/META-INF/kd_ontime_handler_spigot.kotlin_module create mode 100644 target/maven-archiver/pom.properties create mode 100644 target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst create mode 100644 target/maven-status/maven-compiler-plugin/testCompile/default-testCompile/inputFiles.lst diff --git a/.gitignore b/.gitignore index 9154f4c..a6e3daf 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,8 @@ hs_err_pid* replay_pid* +# idea +.idea +# build sources +target + diff --git a/LICENSE b/LICENSE index 2071b23..f372bf8 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) +Copyright (c) 2023 sh-edraft.de Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: diff --git a/kd_ontime_handler_spigot.iml b/kd_ontime_handler_spigot.iml new file mode 100644 index 0000000..43cdacd --- /dev/null +++ b/kd_ontime_handler_spigot.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..f2fc94a --- /dev/null +++ b/pom.xml @@ -0,0 +1,90 @@ + + + 4.0.0 + + kd_ontime_handler_spigot + de.sh-edraft + 1.0-SNAPSHOT + jar + + kd_ontime_handler_spigot + + + UTF-8 + official + 1.8 + + + + + spigot-repo + https://hub.spigotmc.org/nexus/content/repositories/snapshots/ + + + + + + org.spigotmc + spigot-api + 1.19.2-R0.1-SNAPSHOT + provided + + + + org.jetbrains.kotlin + kotlin-test-junit5 + 1.7.21 + test + + + org.junit.jupiter + junit-jupiter-engine + 5.8.2 + test + + + org.jetbrains.kotlin + kotlin-stdlib-jdk8 + 1.7.21 + + + + + src/main/kotlin + src/test/kotlin + + + org.jetbrains.kotlin + kotlin-maven-plugin + 1.7.21 + + + compile + compile + + compile + + + + test-compile + test-compile + + test-compile + + + + + + org.codehaus.mojo + exec-maven-plugin + 1.6.0 + + MainKt + + + + + + \ No newline at end of file diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/Main.kt new file mode 100644 index 0000000..f2a59b6 --- /dev/null +++ b/src/main/kotlin/Main.kt @@ -0,0 +1,7 @@ +fun main(args: Array) { + println("Hello World!") + + // Try adding program arguments via Run/Debug configuration. + // Learn more about running applications: https://www.jetbrains.com/help/idea/running-applications.html. + println("Program arguments: ${args.joinToString()}") +} \ No newline at end of file diff --git a/target/classes/META-INF/kd_ontime_handler_spigot.kotlin_module b/target/classes/META-INF/kd_ontime_handler_spigot.kotlin_module new file mode 100644 index 0000000000000000000000000000000000000000..4e7592e0878597de3516825ef4c94b1cd2cc3e46 GIT binary patch literal 36 kcmZQzU|?ooU|