mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-02-12 08:27:26 +08:00
[F] Fix gradle build
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
|
|
||||||
import java.time.Instant
|
import java.time.Instant
|
||||||
import java.time.format.DateTimeFormatter
|
|
||||||
import java.time.ZoneId
|
import java.time.ZoneId
|
||||||
|
import java.time.format.DateTimeFormatter
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
java
|
java
|
||||||
@@ -80,6 +81,10 @@ version = "0.0.47"
|
|||||||
description = "Aqua Server"
|
description = "Aqua Server"
|
||||||
java.sourceCompatibility = JavaVersion.VERSION_17
|
java.sourceCompatibility = JavaVersion.VERSION_17
|
||||||
|
|
||||||
|
springBoot {
|
||||||
|
mainClass.set("icu.samnyan.aqua.AquaServerApplicationKt")
|
||||||
|
}
|
||||||
|
|
||||||
val buildTime: String by extra(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss z").withZone(ZoneId.of("UTC")).format(Instant.now()))
|
val buildTime: String by extra(DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss z").withZone(ZoneId.of("UTC")).format(Instant.now()))
|
||||||
|
|
||||||
tasks.processResources {
|
tasks.processResources {
|
||||||
|
|||||||
Reference in New Issue
Block a user