Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from haq/develop
Browse files Browse the repository at this point in the history
renamed package
  • Loading branch information
haq authored Feb 9, 2023
2 parents 66e153d + d150f18 commit 40570a8
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 29 deletions.
7 changes: 4 additions & 3 deletions bungee/README.md
Original file line number Diff line number Diff line change
@@ -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;

/**
Expand Down
9 changes: 5 additions & 4 deletions bungee/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>keeper-parent</artifactId>
<groupId>me.affanhaq.keeper</groupId>
<version>2.0</version>
<groupId>dev.affan.keeper</groupId>
<version>2.1</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>bungee</artifactId>
Expand All @@ -22,14 +23,14 @@
<dependency>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-api</artifactId>
<version>1.16-R0.5-SNAPSHOT</version>
<version>1.19-R0.1-SNAPSHOT</version>
<type>jar</type>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>net.md-5</groupId>
<artifactId>bungeecord-api</artifactId>
<version>1.16-R0.5-SNAPSHOT</version>
<version>1.19-R0.1-SNAPSHOT</version>
<type>javadoc</type>
<scope>provided</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.affanhaq.keeper.data;
package dev.affan.keeper.data;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.affanhaq.keeper.data;
package dev.affan.keeper.data;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
5 changes: 2 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>me.affanhaq.keeper</groupId>
<groupId>dev.affan.keeper</groupId>
<artifactId>keeper-parent</artifactId>
<packaging>pom</packaging>
<version>2.0</version>
<version>2.1</version>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
Expand All @@ -21,7 +21,6 @@
</modules>

<dependencies>
<!-- https://mvnrepository.com/artifact/org.jetbrains/annotations -->
<dependency>
<groupId>org.jetbrains</groupId>
<artifactId>annotations</artifactId>
Expand Down
8 changes: 4 additions & 4 deletions spigot/README.md
Original file line number Diff line number Diff line change
@@ -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;

/**
Expand All @@ -27,6 +28,5 @@ public class TestPlugin extends JavaPlugin {
.register(this) // registering objects that contain ConfigValue fields
.load(); // loads all the values
}

}
```
7 changes: 4 additions & 3 deletions spigot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>keeper-parent</artifactId>
<groupId>me.affanhaq.keeper</groupId>
<version>2.0</version>
<groupId>dev.affan.keeper</groupId>
<version>2.1</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>spigot</artifactId>
Expand All @@ -22,7 +23,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.17.1-R0.1-SNAPSHOT</version>
<version>1.19.2-R0.1-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.affanhaq.keeper;
package dev.affan.keeper;

import org.bukkit.configuration.InvalidConfigurationException;
import org.bukkit.configuration.file.FileConfiguration;
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.affanhaq.keeper.data;
package dev.affan.keeper.data;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package me.affanhaq.keeper.data;
package dev.affan.keeper.data;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down

0 comments on commit 40570a8

Please sign in to comment.