mirror of
https://github.com/MiniDay/HamsterCurrency-Parent.git
synced 2025-08-25 05:35:30 +08:00
feat: 更新gradle版本并优化指令部分的重复代码
This commit is contained in:
@@ -5,7 +5,7 @@ plugins {
|
||||
}
|
||||
|
||||
group 'cn.hamster3'
|
||||
version '2.2.8'
|
||||
version '2.2.9'
|
||||
|
||||
repositories {
|
||||
maven {
|
||||
@@ -20,7 +20,7 @@ dependencies {
|
||||
compileOnly "cn.hamster3:HamsterService-Bukkit:2.8.3-SNAPSHOT"
|
||||
compileOnly "cn.hamster3:HamsterAPI:2.4.8-SNAPSHOT"
|
||||
compileOnly 'net.milkbowl.vault:VaultAPI:1.7'
|
||||
compileOnly "me.clip:placeholderapi:2.10.9"
|
||||
compileOnly "me.clip:placeholderapi:2.11.6"
|
||||
|
||||
compileOnly rootProject.fileTree(dir: './libs', includes: ['*.jar'])
|
||||
}
|
||||
@@ -39,7 +39,7 @@ java {
|
||||
|
||||
jar {
|
||||
archivesBaseName = "HamsterCurrency"
|
||||
destinationDir(rootProject.buildDir)
|
||||
destinationDirectory = rootProject.layout.buildDirectory
|
||||
}
|
||||
|
||||
tasks.withType(JavaCompile).configureEach {
|
||||
@@ -62,8 +62,8 @@ publishing {
|
||||
url = 'https://maven.airgame.net/public/'
|
||||
|
||||
credentials {
|
||||
username maven_username
|
||||
password maven_password
|
||||
username = findProperty("MAVEN_AIRGAME_USERNAME")?.toString() ?: ""
|
||||
password = findProperty("MAVEN_AIRGAME_PASSWORD")?.toString() ?: ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user