Configs and per-user localisations (#149)

Co-authored-by: jmp <[email protected]>
Co-authored-by: broccolai <[email protected]>
This commit is contained in:
authored and GitHub committed 2021-05-27 09:36:36 -07:00
1 parent f1e28a8ec7
commit 166324602a
35 files changed
+557 -223

No files matched your search

+11 -1
View File
@@ -15,7 +15,17 @@ dependencies {
tasks {
runServer {
classpath(shadowJar)
classpath(shadowJar.map { it.archiveFile })
dependsOn(shadowJar)
}
afterEvaluate {
runServer {
val path = classpath.toMutableList()
path.removeIf {
it.name == jar.forUseAtConfigurationTime().get().archiveFile.forUseAtConfigurationTime().get().asFile.name
}
classpath = objects.fileCollection().from(path)
}
}
shadowJar {
dependencies {