From fb0cceca581062a2bfc75a0a86cbe9203bad742b Mon Sep 17 00:00:00 2001 From: Mike Primm Date: Wed, 16 Feb 2022 21:13:21 -0600 Subject: [PATCH] Add eclpse labels for subprojects in Fabric --- bukkit-helper/.project | 37 ++++++++++++++++++++----------------- fabric-1.14.4/build.gradle | 8 ++++++++ fabric-1.15.2/build.gradle | 6 ++++++ fabric-1.16.4/build.gradle | 6 ++++++ fabric-1.17.1/build.gradle | 6 ++++++ fabric-1.18/build.gradle | 6 ++++++ spigot/build.gradle | 7 +++---- 7 files changed, 55 insertions(+), 21 deletions(-) diff --git a/bukkit-helper/.project b/bukkit-helper/.project index e86ee638..b372cd57 100644 --- a/bukkit-helper/.project +++ b/bukkit-helper/.project @@ -2,32 +2,35 @@ Dynmap(Spigot-Common) bukkit-helper - + + + + + org.eclipse.jdt.core.javabuilder + + + + + org.eclipse.buildship.core.gradleprojectbuilder + + + + + org.eclipse.m2e.core.maven2Builder + + + + org.eclipse.jdt.core.javanature org.eclipse.m2e.core.maven2Nature org.eclipse.buildship.core.gradleprojectnature - - - org.eclipse.jdt.core.javabuilder - - - - org.eclipse.buildship.core.gradleprojectbuilder - - - - org.eclipse.m2e.core.maven2Builder - - - - 1 + 30 - org.eclipse.core.resources.regexFilterMatcher node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ diff --git a/fabric-1.14.4/build.gradle b/fabric-1.14.4/build.gradle index 29c32122..fa4347fc 100644 --- a/fabric-1.14.4/build.gradle +++ b/fabric-1.14.4/build.gradle @@ -2,6 +2,14 @@ plugins { id 'fabric-loom' version '0.10.65' } +apply plugin: 'eclipse' + +eclipse { + project { + name = "Dynmap(Fabric-1.14.4)" + } +} + archivesBaseName = "Dynmap" version = parent.version group = parent.group diff --git a/fabric-1.15.2/build.gradle b/fabric-1.15.2/build.gradle index 29c32122..95ecb6e8 100644 --- a/fabric-1.15.2/build.gradle +++ b/fabric-1.15.2/build.gradle @@ -6,6 +6,12 @@ archivesBaseName = "Dynmap" version = parent.version group = parent.group +eclipse { + project { + name = "Dynmap(Fabric-1.15.2)" + } +} + configurations { shadow implementation.extendsFrom(shadow) diff --git a/fabric-1.16.4/build.gradle b/fabric-1.16.4/build.gradle index 29c32122..622c4f59 100644 --- a/fabric-1.16.4/build.gradle +++ b/fabric-1.16.4/build.gradle @@ -6,6 +6,12 @@ archivesBaseName = "Dynmap" version = parent.version group = parent.group +eclipse { + project { + name = "Dynmap(Fabric-1.16.4)" + } +} + configurations { shadow implementation.extendsFrom(shadow) diff --git a/fabric-1.17.1/build.gradle b/fabric-1.17.1/build.gradle index 29c32122..ad57d2de 100644 --- a/fabric-1.17.1/build.gradle +++ b/fabric-1.17.1/build.gradle @@ -6,6 +6,12 @@ archivesBaseName = "Dynmap" version = parent.version group = parent.group +eclipse { + project { + name = "Dynmap(Fabric-1.17.1)" + } +} + configurations { shadow implementation.extendsFrom(shadow) diff --git a/fabric-1.18/build.gradle b/fabric-1.18/build.gradle index 29c32122..95009e13 100644 --- a/fabric-1.18/build.gradle +++ b/fabric-1.18/build.gradle @@ -6,6 +6,12 @@ archivesBaseName = "Dynmap" version = parent.version group = parent.group +eclipse { + project { + name = "Dynmap(Fabric-1.18)" + } +} + configurations { shadow implementation.extendsFrom(shadow) diff --git a/spigot/build.gradle b/spigot/build.gradle index 70d18310..919f391e 100644 --- a/spigot/build.gradle +++ b/spigot/build.gradle @@ -1,13 +1,12 @@ -apply plugin: 'eclipse' + +description = 'dynmap' eclipse { project { - name = "Dynmap(Spigot/PaperMC)" + name = "Dynmap(Spigot)" } } -description = 'dynmap' - repositories { maven { url 'https://jitpack.io'