From d150f189f044cc8b19cbd570aa9d070b58256300 Mon Sep 17 00:00:00 2001
From: Affan <19542414+haq@users.noreply.github.com>
Date: Thu, 9 Feb 2023 15:42:28 -0500
Subject: [PATCH] renamed package
---
bungee/README.md | 7 ++++---
bungee/pom.xml | 9 +++++----
.../affanhaq => dev/affan}/keeper/ConfigurationFile.java | 2 +-
.../java/{me/affanhaq => dev/affan}/keeper/Keeper.java | 6 +++---
.../src/main/java/dev/affan}/keeper/data/ConfigFile.java | 2 +-
.../main/java/dev/affan}/keeper/data/ConfigValue.java | 2 +-
pom.xml | 5 ++---
spigot/README.md | 8 ++++----
spigot/pom.xml | 7 ++++---
.../affanhaq => dev/affan}/keeper/ConfigurationFile.java | 2 +-
.../java/{me/affanhaq => dev/affan}/keeper/Keeper.java | 6 +++---
.../src/main/java/dev/affan}/keeper/data/ConfigFile.java | 2 +-
.../main/java/dev/affan}/keeper/data/ConfigValue.java | 2 +-
13 files changed, 31 insertions(+), 29 deletions(-)
rename bungee/src/main/java/{me/affanhaq => dev/affan}/keeper/ConfigurationFile.java (97%)
rename bungee/src/main/java/{me/affanhaq => dev/affan}/keeper/Keeper.java (97%)
rename {spigot/src/main/java/me/affanhaq => bungee/src/main/java/dev/affan}/keeper/data/ConfigFile.java (91%)
rename {spigot/src/main/java/me/affanhaq => bungee/src/main/java/dev/affan}/keeper/data/ConfigValue.java (90%)
rename spigot/src/main/java/{me/affanhaq => dev/affan}/keeper/ConfigurationFile.java (97%)
rename spigot/src/main/java/{me/affanhaq => dev/affan}/keeper/Keeper.java (97%)
rename {bungee/src/main/java/me/affanhaq => spigot/src/main/java/dev/affan}/keeper/data/ConfigFile.java (91%)
rename {bungee/src/main/java/me/affanhaq => spigot/src/main/java/dev/affan}/keeper/data/ConfigValue.java (90%)
diff --git a/bungee/README.md b/bungee/README.md
index 464f353..cd37dae 100644
--- a/bungee/README.md
+++ b/bungee/README.md
@@ -1,9 +1,10 @@
## Usage
```java
-import me.affanhaq.keeper.Keeper;
-import me.affanhaq.keeper.data.ConfigFile;
-import me.affanhaq.keeper.data.ConfigValue;
+import dev.affan.keeper.Keeper;
+import dev.affan.keeper.ConfigFile;
+import dev.affan.keeper.ConfigValue;
+
import net.md_5.bungee.api.plugin.Plugin;
/**
diff --git a/bungee/pom.xml b/bungee/pom.xml
index 0eb047c..331702f 100644
--- a/bungee/pom.xml
+++ b/bungee/pom.xml
@@ -4,9 +4,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
keeper-parent
- me.affanhaq.keeper
- 2.0
+ dev.affan.keeper
+ 2.1
+
4.0.0
bungee
@@ -22,14 +23,14 @@
net.md-5
bungeecord-api
- 1.16-R0.5-SNAPSHOT
+ 1.19-R0.1-SNAPSHOT
jar
provided
net.md-5
bungeecord-api
- 1.16-R0.5-SNAPSHOT
+ 1.19-R0.1-SNAPSHOT
javadoc
provided
diff --git a/bungee/src/main/java/me/affanhaq/keeper/ConfigurationFile.java b/bungee/src/main/java/dev/affan/keeper/ConfigurationFile.java
similarity index 97%
rename from bungee/src/main/java/me/affanhaq/keeper/ConfigurationFile.java
rename to bungee/src/main/java/dev/affan/keeper/ConfigurationFile.java
index 09e0d71..e4a88b8 100644
--- a/bungee/src/main/java/me/affanhaq/keeper/ConfigurationFile.java
+++ b/bungee/src/main/java/dev/affan/keeper/ConfigurationFile.java
@@ -1,4 +1,4 @@
-package me.affanhaq.keeper;
+package dev.affan.keeper;
import net.md_5.bungee.config.Configuration;
import net.md_5.bungee.config.ConfigurationProvider;
diff --git a/bungee/src/main/java/me/affanhaq/keeper/Keeper.java b/bungee/src/main/java/dev/affan/keeper/Keeper.java
similarity index 97%
rename from bungee/src/main/java/me/affanhaq/keeper/Keeper.java
rename to bungee/src/main/java/dev/affan/keeper/Keeper.java
index 462e9cc..10cb5e6 100644
--- a/bungee/src/main/java/me/affanhaq/keeper/Keeper.java
+++ b/bungee/src/main/java/dev/affan/keeper/Keeper.java
@@ -1,7 +1,7 @@
-package me.affanhaq.keeper;
+package dev.affan.keeper;
-import me.affanhaq.keeper.data.ConfigFile;
-import me.affanhaq.keeper.data.ConfigValue;
+import dev.affan.keeper.data.ConfigFile;
+import dev.affan.keeper.data.ConfigValue;
import net.md_5.bungee.api.ChatColor;
import net.md_5.bungee.api.plugin.Plugin;
import org.jetbrains.annotations.NotNull;
diff --git a/spigot/src/main/java/me/affanhaq/keeper/data/ConfigFile.java b/bungee/src/main/java/dev/affan/keeper/data/ConfigFile.java
similarity index 91%
rename from spigot/src/main/java/me/affanhaq/keeper/data/ConfigFile.java
rename to bungee/src/main/java/dev/affan/keeper/data/ConfigFile.java
index 81e1e8a..2838613 100644
--- a/spigot/src/main/java/me/affanhaq/keeper/data/ConfigFile.java
+++ b/bungee/src/main/java/dev/affan/keeper/data/ConfigFile.java
@@ -1,4 +1,4 @@
-package me.affanhaq.keeper.data;
+package dev.affan.keeper.data;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
diff --git a/spigot/src/main/java/me/affanhaq/keeper/data/ConfigValue.java b/bungee/src/main/java/dev/affan/keeper/data/ConfigValue.java
similarity index 90%
rename from spigot/src/main/java/me/affanhaq/keeper/data/ConfigValue.java
rename to bungee/src/main/java/dev/affan/keeper/data/ConfigValue.java
index 993ef73..1b86e0a 100644
--- a/spigot/src/main/java/me/affanhaq/keeper/data/ConfigValue.java
+++ b/bungee/src/main/java/dev/affan/keeper/data/ConfigValue.java
@@ -1,4 +1,4 @@
-package me.affanhaq.keeper.data;
+package dev.affan.keeper.data;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
diff --git a/pom.xml b/pom.xml
index 6d47fb7..6f1f0cd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,10 +4,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
4.0.0
- me.affanhaq.keeper
+ dev.affan.keeper
keeper-parent
pom
- 2.0
+ 2.1
1.8
@@ -21,7 +21,6 @@
-
org.jetbrains
annotations
diff --git a/spigot/README.md b/spigot/README.md
index 5147ef9..df4b331 100644
--- a/spigot/README.md
+++ b/spigot/README.md
@@ -1,9 +1,10 @@
## Usage
```java
-import me.affanhaq.keeper.Keeper;
-import me.affanhaq.keeper.data.ConfigFile;
-import me.affanhaq.keeper.data.ConfigValue;
+import dev.affan.keeper.Keeper;
+import dev.affan.keeper.ConfigFile;
+import dev.affan.keeper.ConfigValue;
+
import org.bukkit.plugin.java.JavaPlugin;
/**
@@ -27,6 +28,5 @@ public class TestPlugin extends JavaPlugin {
.register(this) // registering objects that contain ConfigValue fields
.load(); // loads all the values
}
-
}
```
diff --git a/spigot/pom.xml b/spigot/pom.xml
index 18b3619..974db3a 100644
--- a/spigot/pom.xml
+++ b/spigot/pom.xml
@@ -4,9 +4,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
keeper-parent
- me.affanhaq.keeper
- 2.0
+ dev.affan.keeper
+ 2.1
+
4.0.0
spigot
@@ -22,7 +23,7 @@
org.spigotmc
spigot-api
- 1.17.1-R0.1-SNAPSHOT
+ 1.19.2-R0.1-SNAPSHOT
provided
diff --git a/spigot/src/main/java/me/affanhaq/keeper/ConfigurationFile.java b/spigot/src/main/java/dev/affan/keeper/ConfigurationFile.java
similarity index 97%
rename from spigot/src/main/java/me/affanhaq/keeper/ConfigurationFile.java
rename to spigot/src/main/java/dev/affan/keeper/ConfigurationFile.java
index 25dfd0c..6de75af 100644
--- a/spigot/src/main/java/me/affanhaq/keeper/ConfigurationFile.java
+++ b/spigot/src/main/java/dev/affan/keeper/ConfigurationFile.java
@@ -1,4 +1,4 @@
-package me.affanhaq.keeper;
+package dev.affan.keeper;
import org.bukkit.configuration.InvalidConfigurationException;
import org.bukkit.configuration.file.FileConfiguration;
diff --git a/spigot/src/main/java/me/affanhaq/keeper/Keeper.java b/spigot/src/main/java/dev/affan/keeper/Keeper.java
similarity index 97%
rename from spigot/src/main/java/me/affanhaq/keeper/Keeper.java
rename to spigot/src/main/java/dev/affan/keeper/Keeper.java
index 585b3b7..dbad2aa 100644
--- a/spigot/src/main/java/me/affanhaq/keeper/Keeper.java
+++ b/spigot/src/main/java/dev/affan/keeper/Keeper.java
@@ -1,7 +1,7 @@
-package me.affanhaq.keeper;
+package dev.affan.keeper;
-import me.affanhaq.keeper.data.ConfigFile;
-import me.affanhaq.keeper.data.ConfigValue;
+import dev.affan.keeper.data.ConfigFile;
+import dev.affan.keeper.data.ConfigValue;
import org.bukkit.ChatColor;
import org.bukkit.plugin.java.JavaPlugin;
import org.jetbrains.annotations.NotNull;
diff --git a/bungee/src/main/java/me/affanhaq/keeper/data/ConfigFile.java b/spigot/src/main/java/dev/affan/keeper/data/ConfigFile.java
similarity index 91%
rename from bungee/src/main/java/me/affanhaq/keeper/data/ConfigFile.java
rename to spigot/src/main/java/dev/affan/keeper/data/ConfigFile.java
index 81e1e8a..2838613 100644
--- a/bungee/src/main/java/me/affanhaq/keeper/data/ConfigFile.java
+++ b/spigot/src/main/java/dev/affan/keeper/data/ConfigFile.java
@@ -1,4 +1,4 @@
-package me.affanhaq.keeper.data;
+package dev.affan.keeper.data;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
diff --git a/bungee/src/main/java/me/affanhaq/keeper/data/ConfigValue.java b/spigot/src/main/java/dev/affan/keeper/data/ConfigValue.java
similarity index 90%
rename from bungee/src/main/java/me/affanhaq/keeper/data/ConfigValue.java
rename to spigot/src/main/java/dev/affan/keeper/data/ConfigValue.java
index 993ef73..1b86e0a 100644
--- a/bungee/src/main/java/me/affanhaq/keeper/data/ConfigValue.java
+++ b/spigot/src/main/java/dev/affan/keeper/data/ConfigValue.java
@@ -1,4 +1,4 @@
-package me.affanhaq.keeper.data;
+package dev.affan.keeper.data;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;