支持在安装Systemd服务时通过环境变量读取Discord令牌

如果命令行参数存在,命令行参数的优先级仍然高于环境变量
另外,我不太理解为什么之前要对一个仅有唯一元素的List进行迭代
This commit is contained in:
TheWhiteDog9487
2025-12-12 09:00:23 +08:00
parent 2e34240455
commit 12db682c41
4 changed files with 20 additions and 19 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ plugins {
}
group = "xyz.thewhitedog9487"
version = "0.7.3"
version = "0.7.4"
java {
toolchain {
@@ -35,7 +35,7 @@ dependencies {
implementation("org.springframework.boot:spring-boot-starter-webmvc")
compileOnly("org.projectlombok:lombok")
developmentOnly("org.springframework.boot:spring-boot-devtools")
// developmentOnly("org.springframework.boot:spring-boot-docker-compose")
developmentOnly("org.springframework.boot:spring-boot-docker-compose")
runtimeOnly("org.xerial:sqlite-jdbc")
annotationProcessor("org.springframework.boot:spring-boot-configuration-processor")
annotationProcessor("org.projectlombok:lombok")