diff --git a/.gitignore b/.gitignore index a085a83..8d11eba 100644 --- a/.gitignore +++ b/.gitignore @@ -25,11 +25,8 @@ hs_err_pid* *.xml *.txt *.lst -*.lst -/target/ -/out/ -/build/ -/.idea/ -# Ignore Gradle project-specific cache directory -/.gradle/ +build/ +.idea/ +.gradle/ +simplexcore.asc diff --git a/build.gradle b/build.gradle index fed9a78..1db7c96 100644 --- a/build.gradle +++ b/build.gradle @@ -13,35 +13,21 @@ java { version project.properties["pluginVersion"] targetCompatibility = sourceCompatibility = JavaVersion.VERSION_17 + repositories { mavenCentral() - //maven artifact repo urls - [ - "https://jitpack.io", - "https://papermc.io/repo/repository/maven-public/", - "https://os1.oss.sonatype.org/content/groups/public/" - ].each { s -> - maven { - url s - } - } + maven { url "https://jitpack.io" } + maven { url "https://papermc.io/repo/repository/maven-public/" } + maven { url "https://os1.oss.sonatype.org/content/groups/public/" } } - dependencies { //provided - [ - "io.papermc.paper:paper-api:1.18-R0.1-SNAPSHOT", - ].each {s -> - compileOnly s - } + compileOnly "io.papermc.paper:paper-api:1.18-R0.1-SNAPSHOT" + //compile - [ - "org.jetbrains:annotations:23.0.0", - "org.reflections:reflections:0.10.2" - ].each {s -> - implementation s - } + implementation "org.jetbrains:annotations:23.0.0" + implementation "org.reflections:reflections:0.10.2" } shadowJar { @@ -49,12 +35,8 @@ shadowJar { baseName project.properties["pluginName"].toString() //shading and relocation - [ - "org.reflections", - "javassist" - ].each {s -> - relocate s, "${project.properties["pluginMainPackage"]}.shaded.$s" - } + relocate "org.reflections", "${project.properties["pluginMainPackage"]}.shaded.reflections" + relocate "javassist", "${project.properties["pluginMainPackage"]}.shaded.jassist" } apply plugin: 'maven-publish' diff --git a/simplexcore.asc b/simplexcore.asc deleted file mode 100644 index 770d771..0000000 --- a/simplexcore.asc +++ /dev/null @@ -1,12 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- -mDMEYdpDBxYJKwYBBAHaRw8BAQdAoGRHsaqmeJEq8ZXIpoCUqCQ0aKbNpLVz0lD4 -yq+UM6i0C3NpbXBsZXhjb3JliJoEExYKAEIWIQT65oQCdo6SdgRjZpTAvpGolhpB -HAUCYdpDBwIbAwUJB4WtmQULCQgHAgMiAgEGFQoJCAsCBBYCAwECHgcCF4AACgkQ -wL6RqJYaQRwLkQD+Kef3rW0gUvCx8jodYo5Dwd3Xeb4EpKoYwWVNy59a4f4A/jbP -elULb4W9X2QY5haAlqGgxZWl3b72rbU2coIruqULuDgEYdpDBxIKKwYBBAGXVQEF -AQEHQC9BgyazC+d+LYmrNdqLiQHWb69HFFB0dlRAM6M8YmAYAwEIB4h+BBgWCgAm -FiEE+uaEAnaOknYEY2aUwL6RqJYaQRwFAmHaQwcCGwwFCQeFrZkACgkQwL6RqJYa -QRxmvgEApZfqXwcuiqv/x0KFykus5ECOSgLrfB9l5f1lMzHPwrAA/RH31VsaKq10 -JSvONawvcpjts3x7qy6+wrkjI25LJmUL -=h40b ------END PGP PUBLIC KEY BLOCK----- diff --git a/target/classes/config.yml b/target/classes/config.yml new file mode 100644 index 0000000..f1c7fee --- /dev/null +++ b/target/classes/config.yml @@ -0,0 +1 @@ +# Empty configuration file. \ No newline at end of file