Remove Jetbrains Annotations and Lombok deps info

This commit is contained in:
JeremyStar™ 2024-07-29 19:59:03 +02:00
parent cbf434ed45
commit 3c09713867
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
3 changed files with 0 additions and 124 deletions

View file

@ -242,34 +242,6 @@ public final class EngineInformation {
private static String gitCommitterEmail;
/**
* Provides the version of the dependency {@code Lombok}.
*
* @since v1-alpha0
*
* -- GETTER --
* Provides the version of the dependency {@code Lombok}.
*
* @return Lombok dependency version
* @since v1-alpha0
*/
@Getter
private static String dependencyLombok;
/**
* Provides the version of the dependency {@code Jetbrains Annotations}.
*
* @since v1-alpha0
*
* -- GETTER --
* Provides the version of the dependency {@code Jetbrains Annotations}.
*
* @return Jetbrains Annotations dependency version
* @since v1-alpha0
*/
@Getter
private static String dependencyJetbrainsAnnotations;
/**
* Provides the version of the dependency {@code Jansi}.
*
@ -404,8 +376,6 @@ public final class EngineInformation {
versioningFork = gradleParser.getString("versioningFork");
versioningString = "v" + versioningVersion + "-" + (versioningType == VersionType.RELEASE_CANDIDATE ? "releasecandidate" : versioningType.name()) + versioningTyperelease + versioningFork;
dependencyLombok = gradleParser.getString("dependencyLombok");
dependencyJetbrainsAnnotations = gradleParser.getString("dependencyJetbrainsAnnotations");
dependencyJansi = gradleParser.getString("dependencyJansi");
dependencyReflections = gradleParser.getString("dependencyReflections");
dependencySlf4j = gradleParser.getString("dependencySlf4j");

View file

@ -1,47 +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_dependency_jetbrains_annotations} placeholder.
*
* @since v1-alpha0
* @see Placeholder
*/
@SuppressWarnings({ "unused" })
public final class EngineDependencyJetbrainsAnnotations implements Placeholder {
/**
* Constructs this class.
*
* @since v1-alpha0
*/
public EngineDependencyJetbrainsAnnotations() {}
/** {@inheritDoc} */
@NotNull
@Override
public String replace(@NotNull String text) {
return text.replace("%engine_dependency_jetbrains_annotations%", EngineInformation.getDependencyJetbrainsAnnotations());
}
}

View file

@ -1,47 +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_dependency_lombok} placeholder.
*
* @see Placeholder
* @since v1-alpha0
*/
@SuppressWarnings({ "unused" })
public final class EngineDependencyLombok implements Placeholder {
/**
* Constructs this class.
*
* @since v1-alpha0
*/
public EngineDependencyLombok() {}
/** {@inheritDoc} */
@NotNull
@Override
public String replace(@NotNull String text) {
return text.replace("%engine_dependency_lombok%", EngineInformation.getDependencyLombok());
}
}