added jar task to build.gradle
This commit is contained in:
parent
cc74acf34f
commit
c0aac8cd31
@ -14,6 +14,20 @@ test {
|
||||
maxParallelForks = 1
|
||||
}
|
||||
|
||||
var mainClassName = "uulm.teamname.marvelous.server.Server"
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
attributes "Main-Class": "$mainClassName"
|
||||
}
|
||||
|
||||
from {
|
||||
configurations.runtimeClasspath.collect {it.isDirectory() ? it : zipTree(it) }
|
||||
}
|
||||
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(':Gamelib')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user