From fed4bd7fe1ad3bfec2f649a6a9c4521dafa33e13 Mon Sep 17 00:00:00 2001 From: limited_dev Date: Thu, 18 May 2023 17:27:31 +0200 Subject: [PATCH] chore: moved package and group from de.limited-dev to net.moonleay, fixed group in build.gradle.kts Signed-off-by: limited_dev --- build.gradle.kts | 2 +- .../limited_dev => net/moonleay}/lilJudd/Bot.kt | 14 +++++++------- .../limited_dev => net/moonleay}/lilJudd/Main.kt | 4 ++-- .../moonleay}/lilJudd/data/CredentialManager.kt | 2 +- .../moonleay}/lilJudd/data/DB.kt | 2 +- .../lilJudd/data/tables/TimePlanningChannels.kt | 2 +- .../lilJudd/extensions/FeatureManageExtension.kt | 14 +++++++------- .../lilJudd/extensions/VersionExtension.kt | 6 +++--- .../extensions/component/EnableOrDisable.kt | 2 +- .../lilJudd/extensions/component/Feature.kt | 2 +- .../moonleay}/lilJudd/util/Logger.kt | 2 +- .../moonleay}/lilJudd/util/MessageUtil.kt | 2 +- .../moonleay}/lilJudd/build/BuildConstants.kt | 2 +- 13 files changed, 28 insertions(+), 28 deletions(-) rename src/main/kotlin/{de/limited_dev => net/moonleay}/lilJudd/Bot.kt (87%) rename src/main/kotlin/{de/limited_dev => net/moonleay}/lilJudd/Main.kt (92%) rename src/main/kotlin/{de/limited_dev => net/moonleay}/lilJudd/data/CredentialManager.kt (98%) rename src/main/kotlin/{de/limited_dev => net/moonleay}/lilJudd/data/DB.kt (96%) rename src/main/kotlin/{de/limited_dev => net/moonleay}/lilJudd/data/tables/TimePlanningChannels.kt (95%) rename src/main/kotlin/{de/limited_dev => net/moonleay}/lilJudd/extensions/FeatureManageExtension.kt (94%) rename src/main/kotlin/{de/limited_dev => net/moonleay}/lilJudd/extensions/VersionExtension.kt (91%) rename src/main/kotlin/{de/limited_dev => net/moonleay}/lilJudd/extensions/component/EnableOrDisable.kt (94%) rename src/main/kotlin/{de/limited_dev => net/moonleay}/lilJudd/extensions/component/Feature.kt (94%) rename src/main/kotlin/{de/limited_dev => net/moonleay}/lilJudd/util/Logger.kt (97%) rename src/main/kotlin/{de/limited_dev => net/moonleay}/lilJudd/util/MessageUtil.kt (98%) rename src/main/templates/{de/limited_dev => net/moonleay}/lilJudd/build/BuildConstants.kt (96%) diff --git a/build.gradle.kts b/build.gradle.kts index 0759090..0c0cb8d 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -29,7 +29,7 @@ plugins { //lilJudd version 2 val ownerID = 372703841151614976L -group = "de.limited_dev.botendo" +group = "net.moonleay.liljudd" version = System.getenv("CI_COMMIT_TAG")?.let { "$it-${System.getenv("CI_COMMIT_SHORT_SHA")}-prod" } ?: System.getenv("CI_COMMIT_SHORT_SHA")?.let { "$it-dev" } ?: "2.0.0" diff --git a/src/main/kotlin/de/limited_dev/lilJudd/Bot.kt b/src/main/kotlin/net/moonleay/lilJudd/Bot.kt similarity index 87% rename from src/main/kotlin/de/limited_dev/lilJudd/Bot.kt rename to src/main/kotlin/net/moonleay/lilJudd/Bot.kt index 0f8a0ef..f247ec5 100644 --- a/src/main/kotlin/de/limited_dev/lilJudd/Bot.kt +++ b/src/main/kotlin/net/moonleay/lilJudd/Bot.kt @@ -16,16 +16,16 @@ * along with this program. If not, see . */ -package de.limited_dev.lilJudd +package net.moonleay.lilJudd import com.kotlindiscord.kord.extensions.ExtensibleBot -import de.limited_dev.botendo.build.BuildConstants -import de.limited_dev.lilJudd.data.CredentialManager -import de.limited_dev.lilJudd.data.DB -import de.limited_dev.lilJudd.extensions.FeatureManageExtension -import de.limited_dev.lilJudd.extensions.VersionExtension -import de.limited_dev.lilJudd.util.Logger import dev.kord.common.entity.PresenceStatus +import net.moonleay.botendo.build.BuildConstants +import net.moonleay.lilJudd.data.CredentialManager +import net.moonleay.lilJudd.data.DB +import net.moonleay.lilJudd.extensions.FeatureManageExtension +import net.moonleay.lilJudd.extensions.VersionExtension +import net.moonleay.lilJudd.util.Logger import kotlin.system.exitProcess object Bot { diff --git a/src/main/kotlin/de/limited_dev/lilJudd/Main.kt b/src/main/kotlin/net/moonleay/lilJudd/Main.kt similarity index 92% rename from src/main/kotlin/de/limited_dev/lilJudd/Main.kt rename to src/main/kotlin/net/moonleay/lilJudd/Main.kt index 86f031b..55df604 100644 --- a/src/main/kotlin/de/limited_dev/lilJudd/Main.kt +++ b/src/main/kotlin/net/moonleay/lilJudd/Main.kt @@ -15,9 +15,9 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -package de.limited_dev.lilJudd +package net.moonleay.lilJudd -import de.limited_dev.botendo.build.BuildConstants +import net.moonleay.botendo.build.BuildConstants suspend fun main() { println( diff --git a/src/main/kotlin/de/limited_dev/lilJudd/data/CredentialManager.kt b/src/main/kotlin/net/moonleay/lilJudd/data/CredentialManager.kt similarity index 98% rename from src/main/kotlin/de/limited_dev/lilJudd/data/CredentialManager.kt rename to src/main/kotlin/net/moonleay/lilJudd/data/CredentialManager.kt index 89293c6..16d8733 100644 --- a/src/main/kotlin/de/limited_dev/lilJudd/data/CredentialManager.kt +++ b/src/main/kotlin/net/moonleay/lilJudd/data/CredentialManager.kt @@ -16,7 +16,7 @@ * along with this program. If not, see . */ -package de.limited_dev.lilJudd.data +package net.moonleay.lilJudd.data import java.io.* import java.util.* diff --git a/src/main/kotlin/de/limited_dev/lilJudd/data/DB.kt b/src/main/kotlin/net/moonleay/lilJudd/data/DB.kt similarity index 96% rename from src/main/kotlin/de/limited_dev/lilJudd/data/DB.kt rename to src/main/kotlin/net/moonleay/lilJudd/data/DB.kt index e5d253e..e10b978 100644 --- a/src/main/kotlin/de/limited_dev/lilJudd/data/DB.kt +++ b/src/main/kotlin/net/moonleay/lilJudd/data/DB.kt @@ -16,7 +16,7 @@ * along with this program. If not, see . */ -package de.limited_dev.lilJudd.data +package net.moonleay.lilJudd.data import org.jetbrains.exposed.sql.Database diff --git a/src/main/kotlin/de/limited_dev/lilJudd/data/tables/TimePlanningChannels.kt b/src/main/kotlin/net/moonleay/lilJudd/data/tables/TimePlanningChannels.kt similarity index 95% rename from src/main/kotlin/de/limited_dev/lilJudd/data/tables/TimePlanningChannels.kt rename to src/main/kotlin/net/moonleay/lilJudd/data/tables/TimePlanningChannels.kt index fd7f3d6..2b37a41 100644 --- a/src/main/kotlin/de/limited_dev/lilJudd/data/tables/TimePlanningChannels.kt +++ b/src/main/kotlin/net/moonleay/lilJudd/data/tables/TimePlanningChannels.kt @@ -16,7 +16,7 @@ * along with this program. If not, see . */ -package de.limited_dev.lilJudd.data.tables +package net.moonleay.lilJudd.data.tables import org.jetbrains.exposed.dao.id.IntIdTable diff --git a/src/main/kotlin/de/limited_dev/lilJudd/extensions/FeatureManageExtension.kt b/src/main/kotlin/net/moonleay/lilJudd/extensions/FeatureManageExtension.kt similarity index 94% rename from src/main/kotlin/de/limited_dev/lilJudd/extensions/FeatureManageExtension.kt rename to src/main/kotlin/net/moonleay/lilJudd/extensions/FeatureManageExtension.kt index a04e8e1..faa1660 100644 --- a/src/main/kotlin/de/limited_dev/lilJudd/extensions/FeatureManageExtension.kt +++ b/src/main/kotlin/net/moonleay/lilJudd/extensions/FeatureManageExtension.kt @@ -16,7 +16,7 @@ * along with this program. If not, see . */ -package de.limited_dev.lilJudd.extensions +package net.moonleay.lilJudd.extensions import com.kotlindiscord.kord.extensions.commands.Arguments import com.kotlindiscord.kord.extensions.commands.application.slash.converters.impl.enumChoice @@ -25,14 +25,14 @@ import com.kotlindiscord.kord.extensions.extensions.Extension import com.kotlindiscord.kord.extensions.extensions.publicSlashCommand import com.kotlindiscord.kord.extensions.types.respond import com.kotlindiscord.kord.extensions.utils.hasPermission -import de.limited_dev.lilJudd.data.tables.TimePlanningChannels -import de.limited_dev.lilJudd.data.tables.TimePlanningChannels.channelid -import de.limited_dev.lilJudd.data.tables.TimePlanningChannels.serverid -import de.limited_dev.lilJudd.extensions.component.EnableOrDisable -import de.limited_dev.lilJudd.extensions.component.Feature -import de.limited_dev.lilJudd.util.MessageUtil import dev.kord.common.Color import dev.kord.common.entity.Permission +import net.moonleay.lilJudd.data.tables.TimePlanningChannels +import net.moonleay.lilJudd.data.tables.TimePlanningChannels.channelid +import net.moonleay.lilJudd.data.tables.TimePlanningChannels.serverid +import net.moonleay.lilJudd.extensions.component.EnableOrDisable +import net.moonleay.lilJudd.extensions.component.Feature +import net.moonleay.lilJudd.util.MessageUtil import org.jetbrains.exposed.sql.SqlExpressionBuilder.eq import org.jetbrains.exposed.sql.and import org.jetbrains.exposed.sql.deleteWhere diff --git a/src/main/kotlin/de/limited_dev/lilJudd/extensions/VersionExtension.kt b/src/main/kotlin/net/moonleay/lilJudd/extensions/VersionExtension.kt similarity index 91% rename from src/main/kotlin/de/limited_dev/lilJudd/extensions/VersionExtension.kt rename to src/main/kotlin/net/moonleay/lilJudd/extensions/VersionExtension.kt index 66616d8..e350bd0 100644 --- a/src/main/kotlin/de/limited_dev/lilJudd/extensions/VersionExtension.kt +++ b/src/main/kotlin/net/moonleay/lilJudd/extensions/VersionExtension.kt @@ -16,13 +16,13 @@ * along with this program. If not, see . */ -package de.limited_dev.lilJudd.extensions +package net.moonleay.lilJudd.extensions import com.kotlindiscord.kord.extensions.extensions.Extension import com.kotlindiscord.kord.extensions.extensions.publicSlashCommand -import de.limited_dev.botendo.build.BuildConstants -import de.limited_dev.lilJudd.util.MessageUtil import dev.kord.common.Color +import net.moonleay.botendo.build.BuildConstants +import net.moonleay.lilJudd.util.MessageUtil class VersionExtension : Extension() { override val name = "version" diff --git a/src/main/kotlin/de/limited_dev/lilJudd/extensions/component/EnableOrDisable.kt b/src/main/kotlin/net/moonleay/lilJudd/extensions/component/EnableOrDisable.kt similarity index 94% rename from src/main/kotlin/de/limited_dev/lilJudd/extensions/component/EnableOrDisable.kt rename to src/main/kotlin/net/moonleay/lilJudd/extensions/component/EnableOrDisable.kt index 4067eb8..12896da 100644 --- a/src/main/kotlin/de/limited_dev/lilJudd/extensions/component/EnableOrDisable.kt +++ b/src/main/kotlin/net/moonleay/lilJudd/extensions/component/EnableOrDisable.kt @@ -16,7 +16,7 @@ * along with this program. If not, see . */ -package de.limited_dev.lilJudd.extensions.component +package net.moonleay.lilJudd.extensions.component import com.kotlindiscord.kord.extensions.commands.application.slash.converters.ChoiceEnum diff --git a/src/main/kotlin/de/limited_dev/lilJudd/extensions/component/Feature.kt b/src/main/kotlin/net/moonleay/lilJudd/extensions/component/Feature.kt similarity index 94% rename from src/main/kotlin/de/limited_dev/lilJudd/extensions/component/Feature.kt rename to src/main/kotlin/net/moonleay/lilJudd/extensions/component/Feature.kt index 515ae59..2b07e75 100644 --- a/src/main/kotlin/de/limited_dev/lilJudd/extensions/component/Feature.kt +++ b/src/main/kotlin/net/moonleay/lilJudd/extensions/component/Feature.kt @@ -16,7 +16,7 @@ * along with this program. If not, see . */ -package de.limited_dev.lilJudd.extensions.component +package net.moonleay.lilJudd.extensions.component import com.kotlindiscord.kord.extensions.commands.application.slash.converters.ChoiceEnum diff --git a/src/main/kotlin/de/limited_dev/lilJudd/util/Logger.kt b/src/main/kotlin/net/moonleay/lilJudd/util/Logger.kt similarity index 97% rename from src/main/kotlin/de/limited_dev/lilJudd/util/Logger.kt rename to src/main/kotlin/net/moonleay/lilJudd/util/Logger.kt index ae69910..f5f749a 100644 --- a/src/main/kotlin/de/limited_dev/lilJudd/util/Logger.kt +++ b/src/main/kotlin/net/moonleay/lilJudd/util/Logger.kt @@ -16,7 +16,7 @@ * along with this program. If not, see . */ -package de.limited_dev.lilJudd.util +package net.moonleay.lilJudd.util import java.time.LocalDateTime import java.time.format.DateTimeFormatter diff --git a/src/main/kotlin/de/limited_dev/lilJudd/util/MessageUtil.kt b/src/main/kotlin/net/moonleay/lilJudd/util/MessageUtil.kt similarity index 98% rename from src/main/kotlin/de/limited_dev/lilJudd/util/MessageUtil.kt rename to src/main/kotlin/net/moonleay/lilJudd/util/MessageUtil.kt index 3749b46..2726f8c 100644 --- a/src/main/kotlin/de/limited_dev/lilJudd/util/MessageUtil.kt +++ b/src/main/kotlin/net/moonleay/lilJudd/util/MessageUtil.kt @@ -16,7 +16,7 @@ * along with this program. If not, see . */ -package de.limited_dev.lilJudd.util +package net.moonleay.lilJudd.util import com.kotlindiscord.kord.extensions.commands.Arguments import com.kotlindiscord.kord.extensions.commands.application.slash.PublicSlashCommandContext diff --git a/src/main/templates/de/limited_dev/lilJudd/build/BuildConstants.kt b/src/main/templates/net/moonleay/lilJudd/build/BuildConstants.kt similarity index 96% rename from src/main/templates/de/limited_dev/lilJudd/build/BuildConstants.kt rename to src/main/templates/net/moonleay/lilJudd/build/BuildConstants.kt index 5773d4e..0d9f6cd 100644 --- a/src/main/templates/de/limited_dev/lilJudd/build/BuildConstants.kt +++ b/src/main/templates/net/moonleay/lilJudd/build/BuildConstants.kt @@ -16,7 +16,7 @@ * along with this program. If not, see . */ -package de.limited_dev.botendo.build +package net.moonleay.botendo.build internal object BuildConstants { const val version = "${version}"