Skip to content

Commit

Permalink
chore(color): 使用由 EasyPlugin 提供的ColorParser。
Browse files Browse the repository at this point in the history
  • Loading branch information
CarmJos committed Feb 18, 2023
1 parent 04168d4 commit 385f6dd
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 217 deletions.
9 changes: 8 additions & 1 deletion common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>mineconfiguration-parent</artifactId>
<groupId>cc.carm.lib</groupId>
<version>2.3.1</version>
<version>2.3.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<properties>
Expand All @@ -28,6 +28,13 @@
<scope>compile</scope>
</dependency>

<dependency>
<groupId>cc.carm.lib</groupId>
<artifactId>easyplugin-color</artifactId>
<version>${deps.easyplugin.version}</version>
<scope>compile</scope>
</dependency>

<!--suppress VulnerableLibrariesLocal -->
<dependency>
<groupId>net.md-5</groupId>
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion platform/bukkit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>mineconfiguration-parent</artifactId>
<groupId>cc.carm.lib</groupId>
<version>2.3.1</version>
<version>2.3.2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package cc.carm.lib.mineconfiguration.bukkit.utils;

import cc.carm.lib.mineconfiguration.common.utils.ColorParser;
import cc.carm.lib.easyplugin.utils.ColorParser;
import cc.carm.lib.mineconfiguration.common.utils.ParamsUtils;
import org.bukkit.Bukkit;
import org.bukkit.command.CommandSender;
Expand Down
2 changes: 1 addition & 1 deletion platform/bungee/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>mineconfiguration-parent</artifactId>
<groupId>cc.carm.lib</groupId>
<version>2.3.1</version>
<version>2.3.2</version>
<relativePath>../../pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package cc.carm.lib.mineconfiguration.bungee.builder.message;

import cc.carm.lib.easyplugin.utils.ColorParser;
import cc.carm.lib.mineconfiguration.bungee.data.MessageText;
import cc.carm.lib.mineconfiguration.common.builder.message.MessageConfigBuilder;
import cc.carm.lib.mineconfiguration.common.utils.ColorParser;
import net.md_5.bungee.api.CommandSender;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
Expand Down
4 changes: 3 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
<maven.compiler.target>${project.jdk.version}</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>

<deps.easyconfifuration.version>3.3.3</deps.easyconfifuration.version>
<deps.easyplugin.version>1.4.20</deps.easyplugin.version>
</properties>

<groupId>cc.carm.lib</groupId>
<artifactId>mineconfiguration-parent</artifactId>
<version>2.3.1</version>
<version>2.3.2</version>
<packaging>pom</packaging>
<modules>
<module>common</module>
Expand Down

0 comments on commit 385f6dd

Please sign in to comment.