From 3c09713867b02116fb60b6c199499d025ebfeec1 Mon Sep 17 00:00:00 2001 From: JeremyStarTM Date: Mon, 29 Jul 2024 19:59:03 +0200 Subject: [PATCH] Remove Jetbrains Annotations and Lombok deps info --- .../base/data/info/EngineInformation.java | 30 ------------ .../EngineDependencyJetbrainsAnnotations.java | 47 ------------------- .../placeholders/EngineDependencyLombok.java | 47 ------------------- 3 files changed, 124 deletions(-) delete mode 100644 base/src/main/java/de/staropensource/sosengine/base/internal/placeholders/EngineDependencyJetbrainsAnnotations.java delete mode 100644 base/src/main/java/de/staropensource/sosengine/base/internal/placeholders/EngineDependencyLombok.java diff --git a/base/src/main/java/de/staropensource/sosengine/base/data/info/EngineInformation.java b/base/src/main/java/de/staropensource/sosengine/base/data/info/EngineInformation.java index 69531be..7800021 100644 --- a/base/src/main/java/de/staropensource/sosengine/base/data/info/EngineInformation.java +++ b/base/src/main/java/de/staropensource/sosengine/base/data/info/EngineInformation.java @@ -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"); diff --git a/base/src/main/java/de/staropensource/sosengine/base/internal/placeholders/EngineDependencyJetbrainsAnnotations.java b/base/src/main/java/de/staropensource/sosengine/base/internal/placeholders/EngineDependencyJetbrainsAnnotations.java deleted file mode 100644 index 2b82556..0000000 --- a/base/src/main/java/de/staropensource/sosengine/base/internal/placeholders/EngineDependencyJetbrainsAnnotations.java +++ /dev/null @@ -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 . - */ - -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()); - } -} diff --git a/base/src/main/java/de/staropensource/sosengine/base/internal/placeholders/EngineDependencyLombok.java b/base/src/main/java/de/staropensource/sosengine/base/internal/placeholders/EngineDependencyLombok.java deleted file mode 100644 index 116a1d5..0000000 --- a/base/src/main/java/de/staropensource/sosengine/base/internal/placeholders/EngineDependencyLombok.java +++ /dev/null @@ -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 . - */ - -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()); - } -}