incloud 7boss gson...

Signed-off-by: 502647092 <jtb1@163.com>
This commit is contained in:
502647092 2015-10-22 21:02:01 +08:00
parent 82c9bc702e
commit 3968bdb493
2 changed files with 16 additions and 5 deletions

11
pom.xml
View File

@ -33,6 +33,7 @@
<artifactSet>
<includes>
<include>cn.citycraft:PluginHelper</include>
<include>cn.mcraft:Gson</include>
</includes>
</artifactSet>
<relocations>
@ -40,6 +41,10 @@
<pattern>cn.citycraft.PluginHelper</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}</shadedPattern>
</relocation>
<relocation>
<pattern>cn.mcraft</pattern>
<shadedPattern>${project.groupId}.${project.artifactId}</shadedPattern>
</relocation>
</relocations>
</configuration>
<executions>
@ -81,5 +86,11 @@
<type>jar</type>
<version>1.0</version>
</dependency>
<dependency>
<groupId>cn.mcraft</groupId>
<artifactId>Gson</artifactId>
<type>jar</type>
<version>1.0-SNAPSHOT</version>
</dependency>
</dependencies>
</project>

View File

@ -17,14 +17,14 @@ import org.bukkit.command.CommandSender;
import org.bukkit.configuration.file.FileConfiguration;
import com.google.common.base.Charsets;
import com.google.gson.JsonSyntaxException;
import com.google.gson.reflect.TypeToken;
import cn.citycraft.PluginHelper.gson.GsonLib;
import cn.citycraft.PluginHelper.gson.api.Gson;
import cn.citycraft.Yum.manager.Repositories.PackageInfo;
import cn.citycraft.Yum.manager.Repositories.Plugin;
import cn.citycraft.Yum.manager.Repositories.Repository;;
import cn.citycraft.Yum.manager.Repositories.Repository;
import cn.mcraft.gson.GsonLib;
import cn.mcraft.gson.api.Gson;
import cn.mcraft.gson.api.exception.JsonSyntaxException;
import cn.mcraft.gson.api.reflect.TypeToken;;
/**
* 仓库管理类