Remove unimportant plugin version identifiers
This commit is contained in:
parent
ca0274bbb1
commit
38c5f0e5b9
4 changed files with 0 additions and 140 deletions
|
@ -326,34 +326,6 @@ public final class EngineInformation {
|
|||
@Getter
|
||||
private static String dependencyLwjgl;
|
||||
|
||||
/**
|
||||
* Provides the version of the Gradle plugin {@code Shadow}.
|
||||
*
|
||||
* @since v1-alpha0
|
||||
*
|
||||
* -- GETTER --
|
||||
* Provides the version of the Gradle plugin {@code Shadow}.
|
||||
*
|
||||
* @return Shadow plugin version
|
||||
* @since v1-alpha0
|
||||
*/
|
||||
@Getter
|
||||
private static String pluginShadow;
|
||||
|
||||
/**
|
||||
* Provides the version of the Gradle plugin {@code Lombok}.
|
||||
*
|
||||
* @since v1-alpha0
|
||||
*
|
||||
* -- GETTER --
|
||||
* Provides the version of the Gradle plugin {@code Lombok}.
|
||||
*
|
||||
* @return Lombok plugin version
|
||||
* @since v1-alpha0
|
||||
*/
|
||||
@Getter
|
||||
private static String pluginLombok;
|
||||
|
||||
/**
|
||||
* Constructs this class.
|
||||
*
|
||||
|
@ -459,8 +431,5 @@ public final class EngineInformation {
|
|||
}
|
||||
gitCommitterName = gitParser.getString("git.commit.user.name");
|
||||
gitCommitterEmail = gitParser.getString("git.commit.user.email");
|
||||
|
||||
pluginShadow = gradleParser.getString("pluginShadow");
|
||||
pluginLombok = gradleParser.getString("pluginLombok");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,53 +0,0 @@
|
|||
/*
|
||||
* STAROPENSOURCE ENGINE SOURCE FILE
|
||||
* Copyright (c) 2024 The StarOpenSource Engine Contributors
|
||||
* Licensed under the GNU Affero General Public License v3
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package de.staropensource.sosengine.base.internal.placeholders;
|
||||
|
||||
import de.staropensource.sosengine.base.classes.Placeholder;
|
||||
import de.staropensource.sosengine.base.data.info.EngineInformation;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* Implements the {@code engine_plugin_lombok} placeholder.
|
||||
*
|
||||
* @see Placeholder
|
||||
* @since v1-alpha0
|
||||
*/
|
||||
@SuppressWarnings({ "unused" })
|
||||
public final class EnginePluginLombok implements Placeholder {
|
||||
/**
|
||||
* Constructs this class.
|
||||
*
|
||||
* @since v1-alpha0
|
||||
*/
|
||||
public EnginePluginLombok() {}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@NotNull
|
||||
public String getName() {
|
||||
return "engine_plugin_lombok";
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@NotNull
|
||||
@Override
|
||||
public String replace(@NotNull String text) {
|
||||
return text.replace("%" + getName() + "%", EngineInformation.getPluginLombok());
|
||||
}
|
||||
}
|
|
@ -1,53 +0,0 @@
|
|||
/*
|
||||
* STAROPENSOURCE ENGINE SOURCE FILE
|
||||
* Copyright (c) 2024 The StarOpenSource Engine Contributors
|
||||
* Licensed under the GNU Affero General Public License v3
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Affero General Public License as
|
||||
* published by the Free Software Foundation, either version 3 of the
|
||||
* License, or (at your option) any later version.
|
||||
*
|
||||
* This program is distributed in the hope that it will be useful,
|
||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
* GNU Affero General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Affero General Public License
|
||||
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
package de.staropensource.sosengine.base.internal.placeholders;
|
||||
|
||||
import de.staropensource.sosengine.base.classes.Placeholder;
|
||||
import de.staropensource.sosengine.base.data.info.EngineInformation;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
/**
|
||||
* Implements the {@code engine_plugin_shadow} placeholder.
|
||||
*
|
||||
* @see Placeholder
|
||||
* @since v1-alpha0
|
||||
*/
|
||||
@SuppressWarnings({ "unused" })
|
||||
public final class EnginePluginShadow implements Placeholder {
|
||||
/**
|
||||
* Constructs this class.
|
||||
*
|
||||
* @since v1-alpha0
|
||||
*/
|
||||
public EnginePluginShadow() {}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@NotNull
|
||||
public String getName() {
|
||||
return "engine_plugin_shadow";
|
||||
}
|
||||
|
||||
/** {@inheritDoc} */
|
||||
@NotNull
|
||||
@Override
|
||||
public String replace(@NotNull String text) {
|
||||
return text.replace("%" + getName() + "%", EngineInformation.getPluginShadow());
|
||||
}
|
||||
}
|
|
@ -110,9 +110,6 @@ public final class PlaceholderEngine {
|
|||
placeholders.add(new EngineGitCommitTimeSecond());
|
||||
placeholders.add(new EngineGitCommitTimeYear());
|
||||
placeholders.add(new EngineGitDirty());
|
||||
// engine_plugin_*
|
||||
placeholders.add(new EnginePluginLombok());
|
||||
placeholders.add(new EnginePluginShadow());
|
||||
// engine_version*
|
||||
placeholders.add(new EngineVersion());
|
||||
placeholders.add(new EngineVersionVersion());
|
||||
|
|
Loading…
Reference in a new issue