mirror of
https://github.com/MiniDay/HamsterCurrency-Parent.git
synced 2025-08-26 06:05:30 +08:00
feat: 更新gradle版本并优化指令部分的重复代码
This commit is contained in:
@@ -40,5 +40,5 @@ jar {
|
||||
rootProject.file("LICENSE")
|
||||
])
|
||||
duplicatesStrategy(DuplicatesStrategy.EXCLUDE)
|
||||
destinationDir(rootProject.buildDir)
|
||||
destinationDirectory = rootProject.layout.buildDirectory
|
||||
}
|
||||
|
@@ -79,9 +79,9 @@ public class Main {
|
||||
statement.execute(String.format("USE %s;", database));
|
||||
System.out.println("检查数据表...");
|
||||
statement.execute("CREATE TABLE IF NOT EXISTS hamster_currency_player_data(" +
|
||||
"uuid VARCHAR(36) PRIMARY KEY," +
|
||||
"data TEXT" +
|
||||
");");
|
||||
"uuid VARCHAR(36) PRIMARY KEY," +
|
||||
"data TEXT" +
|
||||
");");
|
||||
System.out.println("开始更新数据库...");
|
||||
for (PlayerData data : playerData) {
|
||||
String sql = String.format(
|
||||
|
Reference in New Issue
Block a user