added jar task to build.gradle
This commit is contained in:
@ -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')
|
||||
|
||||
|
Reference in New Issue
Block a user