[-] Disable plain jar

pull/17/head
Azalea 2024-03-02 23:59:03 -05:00
parent 284a1f0b57
commit 9ea5e2cd90
2 changed files with 7 additions and 3 deletions

View File

@ -97,10 +97,14 @@ tasks.test {
useJUnitPlatform() useJUnitPlatform()
} }
tasks.withType<JavaCompile>() { tasks.withType<JavaCompile> {
options.encoding = "UTF-8" options.encoding = "UTF-8"
} }
tasks.withType<Javadoc>() { tasks.withType<Javadoc> {
options.encoding = "UTF-8" options.encoding = "UTF-8"
} }
tasks.getByName<Jar>("jar") {
enabled = false
}

View File

@ -49,7 +49,7 @@ class UploadUserPlaylogHandler(
fun cleanBacklog() { fun cleanBacklog() {
// Clean all backlog entries that are older than 5 minutes // Clean all backlog entries that are older than 5 minutes
val now = millis() val now = millis()
playBacklog.filter { (k, v) -> v.isEmpty() || v[0].time - now > 300_000 }.toList() playBacklog.filter { (_, v) -> v.isEmpty() || v[0].time - now > 300_000 }.toList()
.forEach { (k, _) -> playBacklog.remove(k) } .forEach { (k, _) -> playBacklog.remove(k) }
} }
} }