From 74150541ad722fb791e5ad6b4d6ac597b115bd6c Mon Sep 17 00:00:00 2001 From: FedericoVisin Date: Tue, 16 Apr 2024 21:08:01 +0200 Subject: [PATCH] re-adapted project to gradle with latest java version (17.x) --- .github/workflows/build-and-upload.yml | 27 -- .gradle/8.7/checksums/checksums.lock | Bin 0 -> 17 bytes .gradle/8.7/checksums/md5-checksums.bin | Bin 0 -> 22847 bytes .gradle/8.7/checksums/sha1-checksums.bin | Bin 0 -> 23357 bytes .../metadata.bin | 1 + .../gradle/accessors/dm/LibrariesForLibs.java | 177 +++++++++++++ .../dm/LibrariesForLibsInPluginsBlock.java | 213 +++++++++++++++ .../metadata.bin | 1 + .../gradle/accessors/dm/LibrariesForLibs.java | 177 +++++++++++++ .../dm/LibrariesForLibsInPluginsBlock.java | 213 +++++++++++++++ .../8.7/dependencies-accessors/gc.properties | 0 .../8.7/executionHistory/executionHistory.bin | Bin 0 -> 37111 bytes .../executionHistory/executionHistory.lock | Bin 0 -> 17 bytes .gradle/8.7/fileChanges/last-build.bin | Bin 0 -> 1 bytes .gradle/8.7/fileHashes/fileHashes.bin | Bin 0 -> 24347 bytes .gradle/8.7/fileHashes/fileHashes.lock | Bin 0 -> 17 bytes .../8.7/fileHashes/resourceHashesCache.bin | Bin 0 -> 21387 bytes .gradle/8.7/gc.properties | 0 .../buildOutputCleanup.lock | Bin 0 -> 17 bytes .gradle/buildOutputCleanup/cache.properties | 2 + .gradle/buildOutputCleanup/outputFiles.bin | Bin 0 -> 18947 bytes .gradle/file-system.probe | Bin 0 -> 8 bytes .gradle/vcs-1/gc.properties | 0 build.gradle.kts | 38 +++ gradle/libs.versions.toml | 5 + gradle/wrapper/gradle-wrapper.properties | 7 + gradlew | 249 ++++++++++++++++++ gradlew.bat | 92 +++++++ pom.xml | 91 ------- settings.gradle.kts | 5 + .../commandsync/commands/SyncCommand.java | 12 +- src/main/resources/config.yml | 1 - src/main/resources/plugin.yml | 4 +- 33 files changed, 1189 insertions(+), 126 deletions(-) delete mode 100644 .github/workflows/build-and-upload.yml create mode 100644 .gradle/8.7/checksums/checksums.lock create mode 100644 .gradle/8.7/checksums/md5-checksums.bin create mode 100644 .gradle/8.7/checksums/sha1-checksums.bin create mode 100644 .gradle/8.7/dependencies-accessors/78a20468a30d216f54efd87a295b307e46f6c561/metadata.bin create mode 100644 .gradle/8.7/dependencies-accessors/78a20468a30d216f54efd87a295b307e46f6c561/sources/org/gradle/accessors/dm/LibrariesForLibs.java create mode 100644 .gradle/8.7/dependencies-accessors/78a20468a30d216f54efd87a295b307e46f6c561/sources/org/gradle/accessors/dm/LibrariesForLibsInPluginsBlock.java create mode 100644 .gradle/8.7/dependencies-accessors/b0c7a0660cb90f69e2599b16d21b1a1676e5b8c7/metadata.bin create mode 100644 .gradle/8.7/dependencies-accessors/b0c7a0660cb90f69e2599b16d21b1a1676e5b8c7/sources/org/gradle/accessors/dm/LibrariesForLibs.java create mode 100644 .gradle/8.7/dependencies-accessors/b0c7a0660cb90f69e2599b16d21b1a1676e5b8c7/sources/org/gradle/accessors/dm/LibrariesForLibsInPluginsBlock.java create mode 100644 .gradle/8.7/dependencies-accessors/gc.properties create mode 100644 .gradle/8.7/executionHistory/executionHistory.bin create mode 100644 .gradle/8.7/executionHistory/executionHistory.lock create mode 100644 .gradle/8.7/fileChanges/last-build.bin create mode 100644 .gradle/8.7/fileHashes/fileHashes.bin create mode 100644 .gradle/8.7/fileHashes/fileHashes.lock create mode 100644 .gradle/8.7/fileHashes/resourceHashesCache.bin create mode 100644 .gradle/8.7/gc.properties create mode 100644 .gradle/buildOutputCleanup/buildOutputCleanup.lock create mode 100644 .gradle/buildOutputCleanup/cache.properties create mode 100644 .gradle/buildOutputCleanup/outputFiles.bin create mode 100644 .gradle/file-system.probe create mode 100644 .gradle/vcs-1/gc.properties create mode 100644 build.gradle.kts create mode 100644 gradle/libs.versions.toml create mode 100644 gradle/wrapper/gradle-wrapper.properties create mode 100755 gradlew create mode 100644 gradlew.bat delete mode 100644 pom.xml create mode 100644 settings.gradle.kts diff --git a/.github/workflows/build-and-upload.yml b/.github/workflows/build-and-upload.yml deleted file mode 100644 index 1e08e58..0000000 --- a/.github/workflows/build-and-upload.yml +++ /dev/null @@ -1,27 +0,0 @@ -name: Build and Upload - -on: - push: - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - name: Set up JDK 11 - uses: actions/setup-java@v3 - with: - java-version: '11' - distribution: 'temurin' - cache: maven - - - name: Build with Maven - run: mvn package --file pom.xml - - - name: Upload Artifact - uses: actions/upload-artifact@v3.1.0 - with: - name: CommandSyncClient - path: ${{ github.workspace }}/target/commandsyncclient.jar diff --git a/.gradle/8.7/checksums/checksums.lock b/.gradle/8.7/checksums/checksums.lock new file mode 100644 index 0000000000000000000000000000000000000000..40b940dab595791ba3c8463eab9ea7c62ca8253a GIT binary patch literal 17 UcmZR6s?&EPWXpnT1_;;*06N?SR{#J2 literal 0 HcmV?d00001 diff --git a/.gradle/8.7/checksums/md5-checksums.bin b/.gradle/8.7/checksums/md5-checksums.bin new file mode 100644 index 0000000000000000000000000000000000000000..34e1f9e86a757d27315fa3ab62b657b59621f2c6 GIT binary patch literal 22847 zcmeI3iCawHAIE1>8cq97sf1Q(5K6RAR8!M5?InstBFQ(Q5ZV_dDSeUB7j2X!QG~Q_ z3Xv@dEz&|%mh?Nfb5GyrH`gEVdw$P7&(ocGUY*zdob#S@@7$j5HK9;sMaS_*`L{{^ z`<8r1CO{@YCO{@YCO{@YCO{@YCO{@YCO{@YCO{@YCO{@YCO{@YCO{@YCO{_e|B`?` zn1}$JjO;uf?2Skug~AX7Zyb-9t{orAzOw@U+I}wj|3Rp>*Ch#7zaHeQ4~U2Rsb@Ln zEuR9prTQfATlxJ%<1K8Tpjj+NJhI!|Yr0mR59G|_h{wCT-}J8b)Wo?q;tBtRy%@Z7 zpc`_>w}>Zuh@Ht)4wwqLlLX=^_Sf>Oc~$)(w~I&oq{G~c7f&msKyFco_~|8S*R5pB zu}DC({f>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1YIy9E zoe(Hu$wXs^&I<}NN=0}eo>7$->E{IuSLK@wC1{A25{+ekR!ZGbrrUE9eV;cyZhHuf zu(V-&KWNagb3E6mZmiBcbza8hz^oUcJ+isR;CUZvSW4W~5NK$c5sf-2QIVCrse50m zZ|$PKA7BB)b7aR9up+Uh3eGLuHLU$-d_PxTn)x|t-y&lno)B0=96L{eM%w{4T%!`< zx2ms5x%hfCjJNmZxRxg{Hft#qIZX(ZY1@fL>A(u6n8fzC;%mYUYPy`8fU&7oW%nLv z(Ef1Lo*8Nxt>m2y zIwU6)c^w#FCHCR-5CF#uw-ITos^(m9H?%F`Njy_#6?U~0GxA`#8}tOtQ3q_eYDfpI zEL&4zG4EpHP^x5bq4h)!j}2K90)@s)G<+4GN}CylzE86??swJwhF$N1wX1&;8bXak z<42rb)-zE}FOUCx|L5vs6Gnyh7Fa{HomgX--*|b=yukymlx@PMH?+>f8u;Ns z`O~*rL#MoZ*uwkLVXEb$R%@=Xfe~~~>N`Gj+7x1qBx#YjpLOp(Q7ULMArHvoH z9Bjs*(P&`9^?8&j?@TmlIY&#F?y`<1dI?)sF^{ghR8I&LzIjB0f4p$J%;!$_0ps~v zIts-`zyMcdZTLh4|8SfK1*P}A{ZTyq%4*YyRdwOmx&qfeli%m{#2UXp85`uPEX#1q z>@@b3{Ls;{Hkzj^y$Oi5*#0d`IVYnKWI$}|z8;k`2@&wVYuxQwml`_uof7&PSZ8hj2! zjf~tYQMS#77;v7G_;3*%J5ZG|FcKy)wegb4?z!V?7p|k zA<*Fe!}%(`JuUrpmI_BQ^xmO>anDd->`H$)Lv+HRF3u*__{}T95DpZ3nV6DQB6fS0 uEHDCnPY5w!4T(Qo_1TQ770yt-oWSA{*?cBGwjDFt#ZN0iBd{F2&i@ZczJV_Q literal 0 HcmV?d00001 diff --git a/.gradle/8.7/checksums/sha1-checksums.bin b/.gradle/8.7/checksums/sha1-checksums.bin new file mode 100644 index 0000000000000000000000000000000000000000..855c187274db91c5a3e92bd7c60bcfe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Jyd~gY9r)u;#cR%3f+S%3j@L$zhu|3$a{S6+DxnE z?2=29NE8OVC0|-ZHQX_)AjaIE_T5Xp*J7m$lKeRyXSFNPVr#)$ulM}YKYVT>S$;;j zyngD|h{xlxa#|1TG*qBPO~6~0Ey^`|U%iHoktNIr~)9 z+H*Co;ldZ4P4OZ(Yu?XQ?50^yH+jNZoFn*Jfh$-fRI0xvc?=iXzSE$vwAj7SgtgGq zi}bfEY^Ov{w{k$DVp7{nZ@vllq_XiJT)+w{dE_iLyt4hX&vs7l;Fy0E~V}V7PzY%LI<|&FZ0IETLXJ#ownJBcjevNxaHT} z;fVZoH0!_njTiV@B8{_2(Tt*}s{i>Xaydi#%)D(qa!rZ+BsnpT^p8YRZ38>H9&Tz3 zdoyWv@J-NLkNubjV@Fo}YBTL#7vea+!(DG&A6kNF zEk^YFDk zn4N0oXS&eJC%3Qj?dN5WZse4K)?|O5%WSf+*7CpH!OF^z^Tg9nXtD|&4;tg(u9e#J Rbva^Fˆsources¦ŸR‹®\!Œ½'SˆÞ¬v \ No newline at end of file diff --git a/.gradle/8.7/dependencies-accessors/78a20468a30d216f54efd87a295b307e46f6c561/sources/org/gradle/accessors/dm/LibrariesForLibs.java b/.gradle/8.7/dependencies-accessors/78a20468a30d216f54efd87a295b307e46f6c561/sources/org/gradle/accessors/dm/LibrariesForLibs.java new file mode 100644 index 0000000..183ccf6 --- /dev/null +++ b/.gradle/8.7/dependencies-accessors/78a20468a30d216f54efd87a295b307e46f6c561/sources/org/gradle/accessors/dm/LibrariesForLibs.java @@ -0,0 +1,177 @@ +package org.gradle.accessors.dm; + +import org.gradle.api.NonNullApi; +import org.gradle.api.artifacts.MinimalExternalModuleDependency; +import org.gradle.plugin.use.PluginDependency; +import org.gradle.api.artifacts.ExternalModuleDependencyBundle; +import org.gradle.api.artifacts.MutableVersionConstraint; +import org.gradle.api.provider.Provider; +import org.gradle.api.model.ObjectFactory; +import org.gradle.api.provider.ProviderFactory; +import org.gradle.api.internal.catalog.AbstractExternalDependencyFactory; +import org.gradle.api.internal.catalog.DefaultVersionCatalog; +import java.util.Map; +import org.gradle.api.internal.attributes.ImmutableAttributesFactory; +import org.gradle.api.internal.artifacts.dsl.CapabilityNotationParser; +import javax.inject.Inject; + +/** + * A catalog of dependencies accessible via the {@code libs} extension. + */ +@NonNullApi +public class LibrariesForLibs extends AbstractExternalDependencyFactory { + + private final AbstractExternalDependencyFactory owner = this; + private final OrgLibraryAccessors laccForOrgLibraryAccessors = new OrgLibraryAccessors(owner); + private final VersionAccessors vaccForVersionAccessors = new VersionAccessors(providers, config); + private final BundleAccessors baccForBundleAccessors = new BundleAccessors(objects, providers, config, attributesFactory, capabilityNotationParser); + private final PluginAccessors paccForPluginAccessors = new PluginAccessors(providers, config); + + @Inject + public LibrariesForLibs(DefaultVersionCatalog config, ProviderFactory providers, ObjectFactory objects, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) { + super(config, providers, objects, attributesFactory, capabilityNotationParser); + } + + /** + * Group of libraries at org + */ + public OrgLibraryAccessors getOrg() { + return laccForOrgLibraryAccessors; + } + + /** + * Group of versions at versions + */ + public VersionAccessors getVersions() { + return vaccForVersionAccessors; + } + + /** + * Group of bundles at bundles + */ + public BundleAccessors getBundles() { + return baccForBundleAccessors; + } + + /** + * Group of plugins at plugins + */ + public PluginAccessors getPlugins() { + return paccForPluginAccessors; + } + + public static class OrgLibraryAccessors extends SubDependencyFactory { + private final OrgSpigotmcLibraryAccessors laccForOrgSpigotmcLibraryAccessors = new OrgSpigotmcLibraryAccessors(owner); + + public OrgLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Group of libraries at org.spigotmc + */ + public OrgSpigotmcLibraryAccessors getSpigotmc() { + return laccForOrgSpigotmcLibraryAccessors; + } + + } + + public static class OrgSpigotmcLibraryAccessors extends SubDependencyFactory { + private final OrgSpigotmcSpigotLibraryAccessors laccForOrgSpigotmcSpigotLibraryAccessors = new OrgSpigotmcSpigotLibraryAccessors(owner); + + public OrgSpigotmcLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Group of libraries at org.spigotmc.spigot + */ + public OrgSpigotmcSpigotLibraryAccessors getSpigot() { + return laccForOrgSpigotmcSpigotLibraryAccessors; + } + + } + + public static class OrgSpigotmcSpigotLibraryAccessors extends SubDependencyFactory { + + public OrgSpigotmcSpigotLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Dependency provider for api with org.spigotmc:spigot-api coordinates and + * with version reference org.spigotmc.spigot.api + *

+ * This dependency was declared in catalog libs.versions.toml + */ + public Provider getApi() { + return create("org.spigotmc.spigot.api"); + } + + } + + public static class VersionAccessors extends VersionFactory { + + private final OrgVersionAccessors vaccForOrgVersionAccessors = new OrgVersionAccessors(providers, config); + public VersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Group of versions at versions.org + */ + public OrgVersionAccessors getOrg() { + return vaccForOrgVersionAccessors; + } + + } + + public static class OrgVersionAccessors extends VersionFactory { + + private final OrgSpigotmcVersionAccessors vaccForOrgSpigotmcVersionAccessors = new OrgSpigotmcVersionAccessors(providers, config); + public OrgVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Group of versions at versions.org.spigotmc + */ + public OrgSpigotmcVersionAccessors getSpigotmc() { + return vaccForOrgSpigotmcVersionAccessors; + } + + } + + public static class OrgSpigotmcVersionAccessors extends VersionFactory { + + private final OrgSpigotmcSpigotVersionAccessors vaccForOrgSpigotmcSpigotVersionAccessors = new OrgSpigotmcSpigotVersionAccessors(providers, config); + public OrgSpigotmcVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Group of versions at versions.org.spigotmc.spigot + */ + public OrgSpigotmcSpigotVersionAccessors getSpigot() { + return vaccForOrgSpigotmcSpigotVersionAccessors; + } + + } + + public static class OrgSpigotmcSpigotVersionAccessors extends VersionFactory { + + public OrgSpigotmcSpigotVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Version alias org.spigotmc.spigot.api with value 1.8.8-R0.1-SNAPSHOT + *

+ * If the version is a rich version and cannot be represented as a + * single version string, an empty string is returned. + *

+ * This version was declared in catalog libs.versions.toml + */ + public Provider getApi() { return getVersion("org.spigotmc.spigot.api"); } + + } + + public static class BundleAccessors extends BundleFactory { + + public BundleAccessors(ObjectFactory objects, ProviderFactory providers, DefaultVersionCatalog config, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) { super(objects, providers, config, attributesFactory, capabilityNotationParser); } + + } + + public static class PluginAccessors extends PluginFactory { + + public PluginAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + } + +} diff --git a/.gradle/8.7/dependencies-accessors/78a20468a30d216f54efd87a295b307e46f6c561/sources/org/gradle/accessors/dm/LibrariesForLibsInPluginsBlock.java b/.gradle/8.7/dependencies-accessors/78a20468a30d216f54efd87a295b307e46f6c561/sources/org/gradle/accessors/dm/LibrariesForLibsInPluginsBlock.java new file mode 100644 index 0000000..d74055e --- /dev/null +++ b/.gradle/8.7/dependencies-accessors/78a20468a30d216f54efd87a295b307e46f6c561/sources/org/gradle/accessors/dm/LibrariesForLibsInPluginsBlock.java @@ -0,0 +1,213 @@ +package org.gradle.accessors.dm; + +import org.gradle.api.NonNullApi; +import org.gradle.api.artifacts.MinimalExternalModuleDependency; +import org.gradle.plugin.use.PluginDependency; +import org.gradle.api.artifacts.ExternalModuleDependencyBundle; +import org.gradle.api.artifacts.MutableVersionConstraint; +import org.gradle.api.provider.Provider; +import org.gradle.api.model.ObjectFactory; +import org.gradle.api.provider.ProviderFactory; +import org.gradle.api.internal.catalog.AbstractExternalDependencyFactory; +import org.gradle.api.internal.catalog.DefaultVersionCatalog; +import java.util.Map; +import org.gradle.api.internal.attributes.ImmutableAttributesFactory; +import org.gradle.api.internal.artifacts.dsl.CapabilityNotationParser; +import javax.inject.Inject; + +/** + * A catalog of dependencies accessible via the {@code libs} extension. + */ +@NonNullApi +public class LibrariesForLibsInPluginsBlock extends AbstractExternalDependencyFactory { + + private final AbstractExternalDependencyFactory owner = this; + private final OrgLibraryAccessors laccForOrgLibraryAccessors = new OrgLibraryAccessors(owner); + private final VersionAccessors vaccForVersionAccessors = new VersionAccessors(providers, config); + private final BundleAccessors baccForBundleAccessors = new BundleAccessors(objects, providers, config, attributesFactory, capabilityNotationParser); + private final PluginAccessors paccForPluginAccessors = new PluginAccessors(providers, config); + + @Inject + public LibrariesForLibsInPluginsBlock(DefaultVersionCatalog config, ProviderFactory providers, ObjectFactory objects, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) { + super(config, providers, objects, attributesFactory, capabilityNotationParser); + } + + /** + * Group of libraries at org + * + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public OrgLibraryAccessors getOrg() { + org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser(); + return laccForOrgLibraryAccessors; + } + + /** + * Group of versions at versions + */ + public VersionAccessors getVersions() { + return vaccForVersionAccessors; + } + + /** + * Group of bundles at bundles + * + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public BundleAccessors getBundles() { + org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser(); + return baccForBundleAccessors; + } + + /** + * Group of plugins at plugins + */ + public PluginAccessors getPlugins() { + return paccForPluginAccessors; + } + + /** + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public static class OrgLibraryAccessors extends SubDependencyFactory { + private final OrgSpigotmcLibraryAccessors laccForOrgSpigotmcLibraryAccessors = new OrgSpigotmcLibraryAccessors(owner); + + public OrgLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Group of libraries at org.spigotmc + * + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public OrgSpigotmcLibraryAccessors getSpigotmc() { + org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser(); + return laccForOrgSpigotmcLibraryAccessors; + } + + } + + /** + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public static class OrgSpigotmcLibraryAccessors extends SubDependencyFactory { + private final OrgSpigotmcSpigotLibraryAccessors laccForOrgSpigotmcSpigotLibraryAccessors = new OrgSpigotmcSpigotLibraryAccessors(owner); + + public OrgSpigotmcLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Group of libraries at org.spigotmc.spigot + * + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public OrgSpigotmcSpigotLibraryAccessors getSpigot() { + org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser(); + return laccForOrgSpigotmcSpigotLibraryAccessors; + } + + } + + /** + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public static class OrgSpigotmcSpigotLibraryAccessors extends SubDependencyFactory { + + public OrgSpigotmcSpigotLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Dependency provider for api with org.spigotmc:spigot-api coordinates and + * with version reference org.spigotmc.spigot.api + *

+ * This dependency was declared in catalog libs.versions.toml + * + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public Provider getApi() { + org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser(); + return create("org.spigotmc.spigot.api"); + } + + } + + public static class VersionAccessors extends VersionFactory { + + private final OrgVersionAccessors vaccForOrgVersionAccessors = new OrgVersionAccessors(providers, config); + public VersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Group of versions at versions.org + */ + public OrgVersionAccessors getOrg() { + return vaccForOrgVersionAccessors; + } + + } + + public static class OrgVersionAccessors extends VersionFactory { + + private final OrgSpigotmcVersionAccessors vaccForOrgSpigotmcVersionAccessors = new OrgSpigotmcVersionAccessors(providers, config); + public OrgVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Group of versions at versions.org.spigotmc + */ + public OrgSpigotmcVersionAccessors getSpigotmc() { + return vaccForOrgSpigotmcVersionAccessors; + } + + } + + public static class OrgSpigotmcVersionAccessors extends VersionFactory { + + private final OrgSpigotmcSpigotVersionAccessors vaccForOrgSpigotmcSpigotVersionAccessors = new OrgSpigotmcSpigotVersionAccessors(providers, config); + public OrgSpigotmcVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Group of versions at versions.org.spigotmc.spigot + */ + public OrgSpigotmcSpigotVersionAccessors getSpigot() { + return vaccForOrgSpigotmcSpigotVersionAccessors; + } + + } + + public static class OrgSpigotmcSpigotVersionAccessors extends VersionFactory { + + public OrgSpigotmcSpigotVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Version alias org.spigotmc.spigot.api with value 1.8.8-R0.1-SNAPSHOT + *

+ * If the version is a rich version and cannot be represented as a + * single version string, an empty string is returned. + *

+ * This version was declared in catalog libs.versions.toml + */ + public Provider getApi() { return getVersion("org.spigotmc.spigot.api"); } + + } + + /** + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public static class BundleAccessors extends BundleFactory { + + public BundleAccessors(ObjectFactory objects, ProviderFactory providers, DefaultVersionCatalog config, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) { super(objects, providers, config, attributesFactory, capabilityNotationParser); } + + } + + public static class PluginAccessors extends PluginFactory { + + public PluginAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + } + +} diff --git a/.gradle/8.7/dependencies-accessors/b0c7a0660cb90f69e2599b16d21b1a1676e5b8c7/metadata.bin b/.gradle/8.7/dependencies-accessors/b0c7a0660cb90f69e2599b16d21b1a1676e5b8c7/metadata.bin new file mode 100644 index 0000000..3ff4691 --- /dev/null +++ b/.gradle/8.7/dependencies-accessors/b0c7a0660cb90f69e2599b16d21b1a1676e5b8c7/metadata.bin @@ -0,0 +1 @@ +›scheo2himnewrp2imz4pirvcam2Oº_)|"SŒ‡•ÚÕÚ"ˆclassesNMýú£ÉãHûù¯\u¼(ˆsourcesš\53Â¥¥¥LaÍ •¤k \ No newline at end of file diff --git a/.gradle/8.7/dependencies-accessors/b0c7a0660cb90f69e2599b16d21b1a1676e5b8c7/sources/org/gradle/accessors/dm/LibrariesForLibs.java b/.gradle/8.7/dependencies-accessors/b0c7a0660cb90f69e2599b16d21b1a1676e5b8c7/sources/org/gradle/accessors/dm/LibrariesForLibs.java new file mode 100644 index 0000000..2875917 --- /dev/null +++ b/.gradle/8.7/dependencies-accessors/b0c7a0660cb90f69e2599b16d21b1a1676e5b8c7/sources/org/gradle/accessors/dm/LibrariesForLibs.java @@ -0,0 +1,177 @@ +package org.gradle.accessors.dm; + +import org.gradle.api.NonNullApi; +import org.gradle.api.artifacts.MinimalExternalModuleDependency; +import org.gradle.plugin.use.PluginDependency; +import org.gradle.api.artifacts.ExternalModuleDependencyBundle; +import org.gradle.api.artifacts.MutableVersionConstraint; +import org.gradle.api.provider.Provider; +import org.gradle.api.model.ObjectFactory; +import org.gradle.api.provider.ProviderFactory; +import org.gradle.api.internal.catalog.AbstractExternalDependencyFactory; +import org.gradle.api.internal.catalog.DefaultVersionCatalog; +import java.util.Map; +import org.gradle.api.internal.attributes.ImmutableAttributesFactory; +import org.gradle.api.internal.artifacts.dsl.CapabilityNotationParser; +import javax.inject.Inject; + +/** + * A catalog of dependencies accessible via the {@code libs} extension. + */ +@NonNullApi +public class LibrariesForLibs extends AbstractExternalDependencyFactory { + + private final AbstractExternalDependencyFactory owner = this; + private final OrgLibraryAccessors laccForOrgLibraryAccessors = new OrgLibraryAccessors(owner); + private final VersionAccessors vaccForVersionAccessors = new VersionAccessors(providers, config); + private final BundleAccessors baccForBundleAccessors = new BundleAccessors(objects, providers, config, attributesFactory, capabilityNotationParser); + private final PluginAccessors paccForPluginAccessors = new PluginAccessors(providers, config); + + @Inject + public LibrariesForLibs(DefaultVersionCatalog config, ProviderFactory providers, ObjectFactory objects, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) { + super(config, providers, objects, attributesFactory, capabilityNotationParser); + } + + /** + * Group of libraries at org + */ + public OrgLibraryAccessors getOrg() { + return laccForOrgLibraryAccessors; + } + + /** + * Group of versions at versions + */ + public VersionAccessors getVersions() { + return vaccForVersionAccessors; + } + + /** + * Group of bundles at bundles + */ + public BundleAccessors getBundles() { + return baccForBundleAccessors; + } + + /** + * Group of plugins at plugins + */ + public PluginAccessors getPlugins() { + return paccForPluginAccessors; + } + + public static class OrgLibraryAccessors extends SubDependencyFactory { + private final OrgPapermcLibraryAccessors laccForOrgPapermcLibraryAccessors = new OrgPapermcLibraryAccessors(owner); + + public OrgLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Group of libraries at org.papermc + */ + public OrgPapermcLibraryAccessors getPapermc() { + return laccForOrgPapermcLibraryAccessors; + } + + } + + public static class OrgPapermcLibraryAccessors extends SubDependencyFactory { + private final OrgPapermcPaperLibraryAccessors laccForOrgPapermcPaperLibraryAccessors = new OrgPapermcPaperLibraryAccessors(owner); + + public OrgPapermcLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Group of libraries at org.papermc.paper + */ + public OrgPapermcPaperLibraryAccessors getPaper() { + return laccForOrgPapermcPaperLibraryAccessors; + } + + } + + public static class OrgPapermcPaperLibraryAccessors extends SubDependencyFactory { + + public OrgPapermcPaperLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Dependency provider for api with com.destroystokyo.paper:paper-api coordinates and + * with version reference org.papermc.paper.api + *

+ * This dependency was declared in catalog libs.versions.toml + */ + public Provider getApi() { + return create("org.papermc.paper.api"); + } + + } + + public static class VersionAccessors extends VersionFactory { + + private final OrgVersionAccessors vaccForOrgVersionAccessors = new OrgVersionAccessors(providers, config); + public VersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Group of versions at versions.org + */ + public OrgVersionAccessors getOrg() { + return vaccForOrgVersionAccessors; + } + + } + + public static class OrgVersionAccessors extends VersionFactory { + + private final OrgPapermcVersionAccessors vaccForOrgPapermcVersionAccessors = new OrgPapermcVersionAccessors(providers, config); + public OrgVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Group of versions at versions.org.papermc + */ + public OrgPapermcVersionAccessors getPapermc() { + return vaccForOrgPapermcVersionAccessors; + } + + } + + public static class OrgPapermcVersionAccessors extends VersionFactory { + + private final OrgPapermcPaperVersionAccessors vaccForOrgPapermcPaperVersionAccessors = new OrgPapermcPaperVersionAccessors(providers, config); + public OrgPapermcVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Group of versions at versions.org.papermc.paper + */ + public OrgPapermcPaperVersionAccessors getPaper() { + return vaccForOrgPapermcPaperVersionAccessors; + } + + } + + public static class OrgPapermcPaperVersionAccessors extends VersionFactory { + + public OrgPapermcPaperVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Version alias org.papermc.paper.api with value 1.20.4-R0.1-SNAPSHOT + *

+ * If the version is a rich version and cannot be represented as a + * single version string, an empty string is returned. + *

+ * This version was declared in catalog libs.versions.toml + */ + public Provider getApi() { return getVersion("org.papermc.paper.api"); } + + } + + public static class BundleAccessors extends BundleFactory { + + public BundleAccessors(ObjectFactory objects, ProviderFactory providers, DefaultVersionCatalog config, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) { super(objects, providers, config, attributesFactory, capabilityNotationParser); } + + } + + public static class PluginAccessors extends PluginFactory { + + public PluginAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + } + +} diff --git a/.gradle/8.7/dependencies-accessors/b0c7a0660cb90f69e2599b16d21b1a1676e5b8c7/sources/org/gradle/accessors/dm/LibrariesForLibsInPluginsBlock.java b/.gradle/8.7/dependencies-accessors/b0c7a0660cb90f69e2599b16d21b1a1676e5b8c7/sources/org/gradle/accessors/dm/LibrariesForLibsInPluginsBlock.java new file mode 100644 index 0000000..e03d6b3 --- /dev/null +++ b/.gradle/8.7/dependencies-accessors/b0c7a0660cb90f69e2599b16d21b1a1676e5b8c7/sources/org/gradle/accessors/dm/LibrariesForLibsInPluginsBlock.java @@ -0,0 +1,213 @@ +package org.gradle.accessors.dm; + +import org.gradle.api.NonNullApi; +import org.gradle.api.artifacts.MinimalExternalModuleDependency; +import org.gradle.plugin.use.PluginDependency; +import org.gradle.api.artifacts.ExternalModuleDependencyBundle; +import org.gradle.api.artifacts.MutableVersionConstraint; +import org.gradle.api.provider.Provider; +import org.gradle.api.model.ObjectFactory; +import org.gradle.api.provider.ProviderFactory; +import org.gradle.api.internal.catalog.AbstractExternalDependencyFactory; +import org.gradle.api.internal.catalog.DefaultVersionCatalog; +import java.util.Map; +import org.gradle.api.internal.attributes.ImmutableAttributesFactory; +import org.gradle.api.internal.artifacts.dsl.CapabilityNotationParser; +import javax.inject.Inject; + +/** + * A catalog of dependencies accessible via the {@code libs} extension. + */ +@NonNullApi +public class LibrariesForLibsInPluginsBlock extends AbstractExternalDependencyFactory { + + private final AbstractExternalDependencyFactory owner = this; + private final OrgLibraryAccessors laccForOrgLibraryAccessors = new OrgLibraryAccessors(owner); + private final VersionAccessors vaccForVersionAccessors = new VersionAccessors(providers, config); + private final BundleAccessors baccForBundleAccessors = new BundleAccessors(objects, providers, config, attributesFactory, capabilityNotationParser); + private final PluginAccessors paccForPluginAccessors = new PluginAccessors(providers, config); + + @Inject + public LibrariesForLibsInPluginsBlock(DefaultVersionCatalog config, ProviderFactory providers, ObjectFactory objects, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) { + super(config, providers, objects, attributesFactory, capabilityNotationParser); + } + + /** + * Group of libraries at org + * + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public OrgLibraryAccessors getOrg() { + org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser(); + return laccForOrgLibraryAccessors; + } + + /** + * Group of versions at versions + */ + public VersionAccessors getVersions() { + return vaccForVersionAccessors; + } + + /** + * Group of bundles at bundles + * + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public BundleAccessors getBundles() { + org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser(); + return baccForBundleAccessors; + } + + /** + * Group of plugins at plugins + */ + public PluginAccessors getPlugins() { + return paccForPluginAccessors; + } + + /** + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public static class OrgLibraryAccessors extends SubDependencyFactory { + private final OrgPapermcLibraryAccessors laccForOrgPapermcLibraryAccessors = new OrgPapermcLibraryAccessors(owner); + + public OrgLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Group of libraries at org.papermc + * + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public OrgPapermcLibraryAccessors getPapermc() { + org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser(); + return laccForOrgPapermcLibraryAccessors; + } + + } + + /** + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public static class OrgPapermcLibraryAccessors extends SubDependencyFactory { + private final OrgPapermcPaperLibraryAccessors laccForOrgPapermcPaperLibraryAccessors = new OrgPapermcPaperLibraryAccessors(owner); + + public OrgPapermcLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Group of libraries at org.papermc.paper + * + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public OrgPapermcPaperLibraryAccessors getPaper() { + org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser(); + return laccForOrgPapermcPaperLibraryAccessors; + } + + } + + /** + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public static class OrgPapermcPaperLibraryAccessors extends SubDependencyFactory { + + public OrgPapermcPaperLibraryAccessors(AbstractExternalDependencyFactory owner) { super(owner); } + + /** + * Dependency provider for api with com.destroystokyo.paper:paper-api coordinates and + * with version reference org.papermc.paper.api + *

+ * This dependency was declared in catalog libs.versions.toml + * + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public Provider getApi() { + org.gradle.internal.deprecation.DeprecationLogger.deprecateBehaviour("Accessing libraries or bundles from version catalogs in the plugins block.").withAdvice("Only use versions or plugins from catalogs in the plugins block.").willBeRemovedInGradle9().withUpgradeGuideSection(8, "kotlin_dsl_deprecated_catalogs_plugins_block").nagUser(); + return create("org.papermc.paper.api"); + } + + } + + public static class VersionAccessors extends VersionFactory { + + private final OrgVersionAccessors vaccForOrgVersionAccessors = new OrgVersionAccessors(providers, config); + public VersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Group of versions at versions.org + */ + public OrgVersionAccessors getOrg() { + return vaccForOrgVersionAccessors; + } + + } + + public static class OrgVersionAccessors extends VersionFactory { + + private final OrgPapermcVersionAccessors vaccForOrgPapermcVersionAccessors = new OrgPapermcVersionAccessors(providers, config); + public OrgVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Group of versions at versions.org.papermc + */ + public OrgPapermcVersionAccessors getPapermc() { + return vaccForOrgPapermcVersionAccessors; + } + + } + + public static class OrgPapermcVersionAccessors extends VersionFactory { + + private final OrgPapermcPaperVersionAccessors vaccForOrgPapermcPaperVersionAccessors = new OrgPapermcPaperVersionAccessors(providers, config); + public OrgPapermcVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Group of versions at versions.org.papermc.paper + */ + public OrgPapermcPaperVersionAccessors getPaper() { + return vaccForOrgPapermcPaperVersionAccessors; + } + + } + + public static class OrgPapermcPaperVersionAccessors extends VersionFactory { + + public OrgPapermcPaperVersionAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + /** + * Version alias org.papermc.paper.api with value 1.20.4-R0.1-SNAPSHOT + *

+ * If the version is a rich version and cannot be represented as a + * single version string, an empty string is returned. + *

+ * This version was declared in catalog libs.versions.toml + */ + public Provider getApi() { return getVersion("org.papermc.paper.api"); } + + } + + /** + * @deprecated Will be removed in Gradle 9.0. + */ + @Deprecated + public static class BundleAccessors extends BundleFactory { + + public BundleAccessors(ObjectFactory objects, ProviderFactory providers, DefaultVersionCatalog config, ImmutableAttributesFactory attributesFactory, CapabilityNotationParser capabilityNotationParser) { super(objects, providers, config, attributesFactory, capabilityNotationParser); } + + } + + public static class PluginAccessors extends PluginFactory { + + public PluginAccessors(ProviderFactory providers, DefaultVersionCatalog config) { super(providers, config); } + + } + +} diff --git a/.gradle/8.7/dependencies-accessors/gc.properties b/.gradle/8.7/dependencies-accessors/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/.gradle/8.7/executionHistory/executionHistory.bin b/.gradle/8.7/executionHistory/executionHistory.bin new file mode 100644 index 0000000000000000000000000000000000000000..8fd6fa52773b3ec2d2c8b693018363870c51be49 GIT binary patch literal 37111 zcmeHO2V4}#_ut*K5KCN4G&aOoqKV!u94J_#p(-FnKs0JJ%iZ3wuvgr@L%?Xn5<#rd zSO8lzw%9ec*h@5Of-#mDOQMO9pGIS^QGPSKSN86}14aFph0opXzL}l(<~wiRd-HZC z6hRu`C6+(L{#Va_DP2hjNC-#>NC-#>NC-#>NC-#>NC-#>NC-#>NC-#>NC-#>NC-#> zNC-#>NC^C2L7+G2NDZMg4ccMwqRtQm@u>waWLxIc?O)Pr(KMm>)6>@X2iV7d+?+MG zN>zd0Bgje*ITaOKxcxtU1p252R=V{U&_5K)q;ClU2>}TK2>}TK2>}TK2>}TK2>}TK z2>}TK2>}TK2>}TK2>}TK2>}TK2>}TK2>}TK2>}TK2>}TK2>}TK2>}TK2>}TK2>}TK z2>}TK2>}TK2>}TK2>}TK34s@ZfFFVcOaY%<@cFEOQKfds@>epHMl&RXCe<2kI;YFh zC2J}ChZ?&AQx@0#XXVjNM}w=j-OIR8kaY%DtI)EfnxPb=kye;UE{#*D3_2qXD3N43 z86sQ{3Z+yAmNZdn{G$Jjd0Twi?C<<$9p(K$-Z_m{N-Iq!q}sW$p2!Z7WU1*og~?!G zR4F8_SI~MB#p+2$5lU%DGh<4$mWaeQNfQ7lIr^z~4e2L~;`id5xTq>FnAEIoyS^mJ@Dy8(Wwu!qNb3_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7/executionHistory/executionHistory.lock new file mode 100644 index 0000000000000000000000000000000000000000..1232ee1d17a1533a253828d5c75a17ea85947946 GIT binary patch literal 17 TcmZR!%xdPfo8B+W00992A}s?5 literal 0 HcmV?d00001 diff --git a/.gradle/8.7/fileChanges/last-build.bin b/.gradle/8.7/fileChanges/last-build.bin new file mode 100644 index 0000000000000000000000000000000000000000..f76dd238ade08917e6712764a16a22005a50573d GIT binary patch literal 1 IcmZPo000310RR91 literal 0 HcmV?d00001 diff --git a/.gradle/8.7/fileHashes/fileHashes.bin b/.gradle/8.7/fileHashes/fileHashes.bin new file mode 100644 index 0000000000000000000000000000000000000000..afcd6653df963dba4b069b5463d1b9d82f8f8159 GIT binary patch literal 24347 zcmeI3cRW__|HqGUn^9&cA)`b_3rP}X?>$qJnNUVXrIKW%C}oD0(x)X`$!JKWrHG;- zl7_NB>3f~~I+xGKef;tH_xF38>+$HgA5YiwysztZrn__WFid3DAEIIZG@*Y!QlF>< zs0644s0644s0644s0644s0644s0644s0644s0644s0644s0644s09AMBw!0B!UZQI zqR5PYm>Gs)Dl@=`kbR|Dl}me!zr$ZUtV92Q5TDZ1TCiKK6LKRj#FJXsP3Ly6P=VYk z6Y&)Ju~fe0$q-|XFAzVnL~`+|o$TrG7cPqtKRWp41<#U&sgRpppX6hLA1*7u`3AY+ zR>V_3FFBK&wdM%HIT25DRC-_5cS!(pD<8y<|9Kakv2>jo5pvVG zN$!xaUu2EoFUXCD5zn6QSAM0|nT=TgL&S5%n7Ww;R>?tbqkwomufmg!dTE7_TRxlQ z^4S@0b|;t<{SPBvkatvv=AC>Ma@%;sFO-F^$VnSq3AyV6#ESyiO$Y0;Wg$0ufcRgp zbY*spSUEs$atrZm?siwzH?I+e++Gy%GV4VB<;pn&kQ=8WUTLvpP-=egOvtTOCwW!k zp3M9W&X5~ELA=^XM`dfV>JG>aULt-|&FPcy5z!@(8?hi>_oznvG8bDb(O(DghG(s# zHWgPjAh*y({Emf|l!tB`8jr^$k2+=bAw!9@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-9d>D*uP06i-PuHw%f5pP*C)OG@)eyTwHp~ww z?iNw7wrsGKj*z?J>_Qm$nGG~num;8&8ru&To-%(stNdfqhv%ZBU@xbSN`fw6tb=5u zB{+QH!A|vSb3$~p;?2E`2tyJY0>flu+HZG$>pzG&K1sfx1MUSl#z{TzbX1>9@8A>G8^>r zZ-&vT$M!_i-uH105jBYI!IDg_QIavxVJomLq;o_+rSfPQe&3GoCBmR5Xspv*)u#QX zD1=v%F8udzib8nNUNX(O#jt)*aze1c6{dZ;5;~r$%c`}%Lk3#b1lbu zWlT=7c7u%mZE$WS8xF}s>Y)`YtGa%hoDmq3VJ8gy_y&z<0xTHjG3|FtlY1g-0omyM z9lEJgZ6x8N+@lSnmGL)?tf{T BNn`*3 literal 0 HcmV?d00001 diff --git a/.gradle/8.7/fileHashes/fileHashes.lock b/.gradle/8.7/fileHashes/fileHashes.lock new file mode 100644 index 0000000000000000000000000000000000000000..c549f8d9657f257831ef31c571b1233e7243d667 GIT binary patch literal 17 UcmZS1y%6_9Rg)BEk)@UI+)6gttRdfp}OO_Fmvb0&cl&*9uMJ3A(l{HE# zMk1uHWRQfExs-He3ax(4?|HuSJHL76ANc*wch13_m-qQR-{(DZ9&?W8OTgh4DbAn| z+R+COU%uA0+V$&8}@b8;Q8fFz}4R z^yJ_7-QI^dw4f>y63`}x3hmk^Vfl2yu;DcZ_tWHoK69r*HCKf zy)Jzf;>=*+1r~00BeL#Bh?DJsU+E4TI&;L7g68?auSS18n^^U-6mb_@;KgY#&+IQh zCXMFj055qQ|5nd?!+gZ)AAy%GtIL-SxqAk6Dd5*O$HrvFhyRVv`5kzrLGr_T`t%s$ z!~&r|wr}FNr=3KcauWEBLx=q`O+5+`XK{d6U)UJOATR1e+@%rtZ8wQUdtdABM4a3t z^uX`OzOK37fjHwL@LDdn!b|G2BjWUO;2eYO+wCT{2N7qM0I_TRau6r=0B_PZtgC%RyMZ{h0(i?;THWDv z9VK+me&7#U2BVdGo1D-*Rp=vU9VUF2mm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zH-|tV2$Tqxf2$lQoZR8bPfop1>x; zE%+0j7tK%EZhU6m$Ff*~O_Z^UsSfjw#O>DIgh+@^#F2$DB?#KWDO%R0q9C!1#E6nK3xotiJ9N2(81`ocd5~rxMhER(@ADwtA`&9LFTC%5eD}P+ckk!AgT^>F zugGCmkJQyAD+CZg009ILKmY**5I_I{1Q0*~0R#|0009IL_+JFdtryu~zl<|0F}_Ht zH6~}HwQx0uM%qGiTO#pljQ^JYf6(#ebY%JJj!)7vwLh8tzVLZIFl2Y%qV|#F*ZSP; zUr)+>So?U;F*H69?3Vch+NbL7M$@vtd1by$d#o>-vCdt-SLQ3UFWsoF>1n;0EAy|l zFQ?`;T)fhiC*7+(X(B&k_sn3gbcgno;XR(Lfx>#}m$h%*nclRxsrtR$eNpY(ZWjdF z>mR?Aenk8B*o*M&v+x_~{o2z?8r_{Op;Fo3r9FS_L#AUUxKDbo_Wh&&p2DhDd9Hs! zyLXqTtf4gWK;}!d7vv5%HJ*wk+1*#G{qRF~)zNz=ilyJzUbK{b?$Imf9ogrM_Oe5P z?sxO973pua9~*4BP+U1SCHp+rerYZ|`SfF_K6g@k-RRltH5JqSGT*FSKaEK|Z-2)X z0R#|0009ILKmY**5I_I{1Q0*~0R#|0009ILKmY**5I_I{1Q0*~0R#|0009ILKmY** o5J2E>33#lH)>~&n{ET0ce<@b@r^?#>!av)2?e6-Woqx{!07dXz%m4rY literal 0 HcmV?d00001 diff --git a/.gradle/file-system.probe b/.gradle/file-system.probe new file mode 100644 index 0000000000000000000000000000000000000000..2ffdb93037fe2869d43f1522f348c23915e202e7 GIT binary patch literal 8 PcmZQzVC;LA>01Q=2)hEN literal 0 HcmV?d00001 diff --git a/.gradle/vcs-1/gc.properties b/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/build.gradle.kts b/build.gradle.kts new file mode 100644 index 0000000..88abfab --- /dev/null +++ b/build.gradle.kts @@ -0,0 +1,38 @@ +plugins { + `java-library` + `maven-publish` +} + +repositories { + mavenLocal() + maven { + url = uri("https://papermc.io/repo/repository/maven-public/") + } + + maven { + url = uri("https://repo.maven.apache.org/maven2/") + } +} + +dependencies { + compileOnly("io.papermc.paper:paper-api:1.20.4-R0.1-SNAPSHOT") +} + +group = "ga.windpvp.commandsync" +version = "0.0.2" +description = "Command Sync Client" +java.sourceCompatibility = JavaVersion.VERSION_17 + +publishing { + publications.create("maven") { + from(components["java"]) + } +} + +tasks.withType() { + options.encoding = "UTF-8" +} + +tasks.withType() { + options.encoding = "UTF-8" +} diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml new file mode 100644 index 0000000..9995f97 --- /dev/null +++ b/gradle/libs.versions.toml @@ -0,0 +1,5 @@ +[versions] +org-papermc-paper-api = "1.20.4-R0.1-SNAPSHOT" # Replace X.X.X with the latest version + +[libraries] +org-papermc-paper-api = { module = "io.papermc.paper:paper-api", version.ref = "org-papermc-paper-api" } diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties new file mode 100644 index 0000000..b82aa23 --- /dev/null +++ b/gradle/wrapper/gradle-wrapper.properties @@ -0,0 +1,7 @@ +distributionBase=GRADLE_USER_HOME +distributionPath=wrapper/dists +distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip +networkTimeout=10000 +validateDistributionUrl=true +zipStoreBase=GRADLE_USER_HOME +zipStorePath=wrapper/dists diff --git a/gradlew b/gradlew new file mode 100755 index 0000000..1aa94a4 --- /dev/null +++ b/gradlew @@ -0,0 +1,249 @@ +#!/bin/sh + +# +# Copyright © 2015-2021 the original authors. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# https://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +############################################################################## +# +# Gradle start up script for POSIX generated by Gradle. +# +# Important for running: +# +# (1) You need a POSIX-compliant shell to run this script. If your /bin/sh is +# noncompliant, but you have some other compliant shell such as ksh or +# bash, then to run this script, type that shell name before the whole +# command line, like: +# +# ksh Gradle +# +# Busybox and similar reduced shells will NOT work, because this script +# requires all of these POSIX shell features: +# * functions; +# * expansions «$var», «${var}», «${var:-default}», «${var+SET}», +# «${var#prefix}», «${var%suffix}», and «$( cmd )»; +# * compound commands having a testable exit status, especially «case»; +# * various built-in commands including «command», «set», and «ulimit». +# +# Important for patching: +# +# (2) This script targets any POSIX shell, so it avoids extensions provided +# by Bash, Ksh, etc; in particular arrays are avoided. +# +# The "traditional" practice of packing multiple parameters into a +# space-separated string is a well documented source of bugs and security +# problems, so this is (mostly) avoided, by progressively accumulating +# options in "$@", and eventually passing that to Java. +# +# Where the inherited environment variables (DEFAULT_JVM_OPTS, JAVA_OPTS, +# and GRADLE_OPTS) rely on word-splitting, this is performed explicitly; +# see the in-line comments for details. +# +# There are tweaks for specific operating systems such as AIX, CygWin, +# Darwin, MinGW, and NonStop. +# +# (3) This script is generated from the Groovy template +# https://github.com/gradle/gradle/blob/HEAD/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt +# within the Gradle project. +# +# You can find Gradle at https://github.com/gradle/gradle/. +# +############################################################################## + +# Attempt to set APP_HOME + +# Resolve links: $0 may be a link +app_path=$0 + +# Need this for daisy-chained symlinks. +while + APP_HOME=${app_path%"${app_path##*/}"} # leaves a trailing /; empty if no leading path + [ -h "$app_path" ] +do + ls=$( ls -ld "$app_path" ) + link=${ls#*' -> '} + case $link in #( + /*) app_path=$link ;; #( + *) app_path=$APP_HOME$link ;; + esac +done + +# This is normally unused +# shellcheck disable=SC2034 +APP_BASE_NAME=${0##*/} +# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036) +APP_HOME=$( cd "${APP_HOME:-./}" > /dev/null && pwd -P ) || exit + +# Use the maximum available, or set MAX_FD != -1 to use that value. +MAX_FD=maximum + +warn () { + echo "$*" +} >&2 + +die () { + echo + echo "$*" + echo + exit 1 +} >&2 + +# OS specific support (must be 'true' or 'false'). +cygwin=false +msys=false +darwin=false +nonstop=false +case "$( uname )" in #( + CYGWIN* ) cygwin=true ;; #( + Darwin* ) darwin=true ;; #( + MSYS* | MINGW* ) msys=true ;; #( + NONSTOP* ) nonstop=true ;; +esac + +CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar + + +# Determine the Java command to use to start the JVM. +if [ -n "$JAVA_HOME" ] ; then + if [ -x "$JAVA_HOME/jre/sh/java" ] ; then + # IBM's JDK on AIX uses strange locations for the executables + JAVACMD=$JAVA_HOME/jre/sh/java + else + JAVACMD=$JAVA_HOME/bin/java + fi + if [ ! -x "$JAVACMD" ] ; then + die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +else + JAVACMD=java + if ! command -v java >/dev/null 2>&1 + then + die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. + +Please set the JAVA_HOME variable in your environment to match the +location of your Java installation." + fi +fi + +# Increase the maximum file descriptors if we can. +if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then + case $MAX_FD in #( + max*) + # In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 + MAX_FD=$( ulimit -H -n ) || + warn "Could not query maximum file descriptor limit" + esac + case $MAX_FD in #( + '' | soft) :;; #( + *) + # In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked. + # shellcheck disable=SC2039,SC3045 + ulimit -n "$MAX_FD" || + warn "Could not set maximum file descriptor limit to $MAX_FD" + esac +fi + +# Collect all arguments for the java command, stacking in reverse order: +# * args from the command line +# * the main class name +# * -classpath +# * -D...appname settings +# * --module-path (only if needed) +# * DEFAULT_JVM_OPTS, JAVA_OPTS, and GRADLE_OPTS environment variables. + +# For Cygwin or MSYS, switch paths to Windows format before running java +if "$cygwin" || "$msys" ; then + APP_HOME=$( cygpath --path --mixed "$APP_HOME" ) + CLASSPATH=$( cygpath --path --mixed "$CLASSPATH" ) + + JAVACMD=$( cygpath --unix "$JAVACMD" ) + + # Now convert the arguments - kludge to limit ourselves to /bin/sh + for arg do + if + case $arg in #( + -*) false ;; # don't mess with options #( + /?*) t=${arg#/} t=/${t%%/*} # looks like a POSIX filepath + [ -e "$t" ] ;; #( + *) false ;; + esac + then + arg=$( cygpath --path --ignore --mixed "$arg" ) + fi + # Roll the args list around exactly as many times as the number of + # args, so each arg winds up back in the position where it started, but + # possibly modified. + # + # NB: a `for` loop captures its iteration list before it begins, so + # changing the positional parameters here affects neither the number of + # iterations, nor the values presented in `arg`. + shift # remove old arg + set -- "$@" "$arg" # push replacement arg + done +fi + + +# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"' + +# Collect all arguments for the java command: +# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments, +# and any embedded shellness will be escaped. +# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be +# treated as '${Hostname}' itself on the command line. + +set -- \ + "-Dorg.gradle.appname=$APP_BASE_NAME" \ + -classpath "$CLASSPATH" \ + org.gradle.wrapper.GradleWrapperMain \ + "$@" + +# Stop when "xargs" is not available. +if ! command -v xargs >/dev/null 2>&1 +then + die "xargs is not available" +fi + +# Use "xargs" to parse quoted args. +# +# With -n1 it outputs one arg per line, with the quotes and backslashes removed. +# +# In Bash we could simply go: +# +# readarray ARGS < <( xargs -n1 <<<"$var" ) && +# set -- "${ARGS[@]}" "$@" +# +# but POSIX shell has neither arrays nor command substitution, so instead we +# post-process each arg (as a line of input to sed) to backslash-escape any +# character that might be a shell metacharacter, then use eval to reverse +# that process (while maintaining the separation between arguments), and wrap +# the whole thing up as a single "set" statement. +# +# This will of course break if any of these variables contains a newline or +# an unmatched quote. +# + +eval "set -- $( + printf '%s\n' "$DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS" | + xargs -n1 | + sed ' s~[^-[:alnum:]+,./:=@_]~\\&~g; ' | + tr '\n' ' ' + )" '"$@"' + +exec "$JAVACMD" "$@" diff --git a/gradlew.bat b/gradlew.bat new file mode 100644 index 0000000..7101f8e --- /dev/null +++ b/gradlew.bat @@ -0,0 +1,92 @@ +@rem +@rem Copyright 2015 the original author or authors. +@rem +@rem Licensed under the Apache License, Version 2.0 (the "License"); +@rem you may not use this file except in compliance with the License. +@rem You may obtain a copy of the License at +@rem +@rem https://www.apache.org/licenses/LICENSE-2.0 +@rem +@rem Unless required by applicable law or agreed to in writing, software +@rem distributed under the License is distributed on an "AS IS" BASIS, +@rem WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +@rem See the License for the specific language governing permissions and +@rem limitations under the License. +@rem + +@if "%DEBUG%"=="" @echo off +@rem ########################################################################## +@rem +@rem Gradle startup script for Windows +@rem +@rem ########################################################################## + +@rem Set local scope for the variables with windows NT shell +if "%OS%"=="Windows_NT" setlocal + +set DIRNAME=%~dp0 +if "%DIRNAME%"=="" set DIRNAME=. +@rem This is normally unused +set APP_BASE_NAME=%~n0 +set APP_HOME=%DIRNAME% + +@rem Resolve any "." and ".." in APP_HOME to make it shorter. +for %%i in ("%APP_HOME%") do set APP_HOME=%%~fi + +@rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. +set DEFAULT_JVM_OPTS="-Xmx64m" "-Xms64m" + +@rem Find java.exe +if defined JAVA_HOME goto findJavaFromJavaHome + +set JAVA_EXE=java.exe +%JAVA_EXE% -version >NUL 2>&1 +if %ERRORLEVEL% equ 0 goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:findJavaFromJavaHome +set JAVA_HOME=%JAVA_HOME:"=% +set JAVA_EXE=%JAVA_HOME%/bin/java.exe + +if exist "%JAVA_EXE%" goto execute + +echo. 1>&2 +echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 1>&2 +echo. 1>&2 +echo Please set the JAVA_HOME variable in your environment to match the 1>&2 +echo location of your Java installation. 1>&2 + +goto fail + +:execute +@rem Setup the command line + +set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar + + +@rem Execute Gradle +"%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %* + +:end +@rem End local scope for the variables with windows NT shell +if %ERRORLEVEL% equ 0 goto mainEnd + +:fail +rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of +rem the _cmd.exe /c_ return code! +set EXIT_CODE=%ERRORLEVEL% +if %EXIT_CODE% equ 0 set EXIT_CODE=1 +if not ""=="%GRADLE_EXIT_CONSOLE%" exit %EXIT_CODE% +exit /b %EXIT_CODE% + +:mainEnd +if "%OS%"=="Windows_NT" endlocal + +:omega diff --git a/pom.xml b/pom.xml deleted file mode 100644 index b493b89..0000000 --- a/pom.xml +++ /dev/null @@ -1,91 +0,0 @@ - - 4.0.0 - - - ga.windpvp.commandsync - commandsyncclient - jar - - - Command Sync Client - This works with Command Sync Server to run commands on the Velocity instance from the backend server. - 0.0.1 - https://github.com/Wind-Development/CommandSync - - - windcolor-dev - ga.windpvp.commandsync.SyncPlugin - UTF-8 - - - - - - spigot-repo - https://hub.spigotmc.org/nexus/content/repositories/snapshots/ - - - - - - - org.spigotmc - spigot-api - 1.8.8-R0.1-SNAPSHOT - provided - - - - - - - ${artifactId} - - src/main/java - - clean install - - - - src/main/resources - true - - **/*.java - - - - - - - - - maven-compiler-plugin - 3.8.1 - - 1.8 - 1.8 - - - - - - maven-assembly-plugin - 3.3.0 - - - jar-with-dependencies - - - - - make-assembly - package - - single - - - - - - - diff --git a/settings.gradle.kts b/settings.gradle.kts new file mode 100644 index 0000000..daf3e78 --- /dev/null +++ b/settings.gradle.kts @@ -0,0 +1,5 @@ +/* + * This file was generated by the Gradle 'init' task. + */ + +rootProject.name = "commandsyncclient" diff --git a/src/main/java/ga/windpvp/commandsync/commands/SyncCommand.java b/src/main/java/ga/windpvp/commandsync/commands/SyncCommand.java index 48f325a..b568a15 100644 --- a/src/main/java/ga/windpvp/commandsync/commands/SyncCommand.java +++ b/src/main/java/ga/windpvp/commandsync/commands/SyncCommand.java @@ -1,24 +1,26 @@ package ga.windpvp.commandsync.commands; +import net.kyori.adventure.text.Component; +import net.kyori.adventure.text.format.TextColor; import org.bukkit.command.Command; import org.bukkit.command.CommandExecutor; import org.bukkit.command.CommandSender; import ga.windpvp.commandsync.SyncPlugin; -import net.md_5.bungee.api.ChatColor; +import org.jetbrains.annotations.NotNull; public class SyncCommand implements CommandExecutor { @Override - public boolean onCommand(CommandSender sender, Command command, String label, String[] args) { + public boolean onCommand(CommandSender sender, @NotNull Command command, @NotNull String label, String[] args) { if (!sender.hasPermission("commandsync.admin")) { - sender.sendMessage(ChatColor.RED + "Insufficient permissions."); + sender.sendMessage(Component.text("Insufficient permissions.").color(TextColor.color(200,0,0))); return true; } if (args.length == 0) { - sender.sendMessage(ChatColor.RED + "Insufficient arguments! Use /sync ."); + sender.sendMessage(Component.text("Insufficient arguments! Use /sync .").color(TextColor.color(200,0,0))); return true; } @@ -34,7 +36,7 @@ public boolean onCommand(CommandSender sender, Command command, String label, St SyncPlugin.getInstance().getConnectionManager().dispatchCommand(builder.toString()); - sender.sendMessage(ChatColor.GREEN + "Synced command /" + builder.toString() + " to the Velocity instance!"); + sender.sendMessage(Component.text("Synced command /" + builder.toString() + " to the Velocity instance!").color(TextColor.color(0,200,0))); return true; } diff --git a/src/main/resources/config.yml b/src/main/resources/config.yml index 3bf0003..254523c 100644 --- a/src/main/resources/config.yml +++ b/src/main/resources/config.yml @@ -3,4 +3,3 @@ name: "backend-server" # The password to access the proxy server password: "defaultPassword" # The port of the proxy server -port: 1500 diff --git a/src/main/resources/plugin.yml b/src/main/resources/plugin.yml index da5b39e..4f9f7dc 100644 --- a/src/main/resources/plugin.yml +++ b/src/main/resources/plugin.yml @@ -1,8 +1,8 @@ name: CommandSyncClient description: This works with Command Sync Server to run commands on the Velocity instance from the backend server. -author: windcolor-dev +author: windcolor-dev, FedericoVisin main: ga.windpvp.commandsync.SyncPlugin -version: 0.0.1 +version: 0.0.2 permissions: commandsync.admin: