forked from Cookies_Github_mirror/AquaDX
[-] Disable plain jar
This commit is contained in:
@@ -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
|
||||||
|
}
|
||||||
@@ -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) }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user