mirror of
https://github.com/darksaid98/Carbon.git
synced 2026-12-03 14:38:51 +00:00
Configs and per-user localisations (#149)
Co-authored-by: jmp <[email protected]> Co-authored-by: broccolai <[email protected]>
This commit is contained in:
35 files changed
+557
-223
No files matched your search
+11
-1
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user