From cb6f179efb80cc95bfebd6eea4bc4474c00af22a Mon Sep 17 00:00:00 2001 From: Auxilor Date: Wed, 15 Feb 2023 21:00:02 +0000 Subject: [PATCH] libreforge-updater --- build.gradle | 3 ++- eco-core/core-plugin/build.gradle | 7 +++++++ gradle.properties | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/build.gradle b/build.gradle index cd07afab..c6c21889 100644 --- a/build.gradle +++ b/build.gradle @@ -46,7 +46,7 @@ allprojects { dependencies { compileOnly 'com.willfp:eco:6.44.0' - implementation 'com.willfp:libreforge:3.129.1' + implementation 'com.willfp:libreforge:3.129.2' implementation 'org.joml:joml:1.10.4' compileOnly 'org.jetbrains:annotations:23.0.0' @@ -114,4 +114,5 @@ task buyThePlugins { println 'Buying gives you access to support and the plugin auto-updater, and it allows me to keep developing plugins.' } } + build.finalizedBy buyThePlugins diff --git a/eco-core/core-plugin/build.gradle b/eco-core/core-plugin/build.gradle index a50271d0..2084503e 100644 --- a/eco-core/core-plugin/build.gradle +++ b/eco-core/core-plugin/build.gradle @@ -8,6 +8,13 @@ dependencies { compileOnly 'net.essentialsx:EssentialsX:2.19.0' } +task createJar(type: org.gradle.jvm.tasks.Jar) { + from configurations.runtimeClasspath.collect { it.isDirectory() ? it : zipTree(it) } + into 'lib' + duplicatesStrategy(DuplicatesStrategy.EXCLUDE) +} + +build.finalizedBy createJar build.dependsOn publishToMavenLocal publishing { diff --git a/gradle.properties b/gradle.properties index 668710f7..70ba5334 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ #libreforge-updater -#Sun Feb 12 16:56:41 GMT 2023 -version=9.17.1 +#Wed Feb 15 21:00:02 GMT 2023 +version=9.17.2 plugin-name=EcoEnchants