This commit is contained in:
@@ -16,7 +16,7 @@ repositories {
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
def os = System.getProperty("os.name").toLowerCase()
|
||||
def os = "linux"
|
||||
def lwjgl_version = "3.3.6"
|
||||
def lwjgl_natives = "natives-$os"
|
||||
def imgui_version = "1.87.0"
|
||||
@@ -47,12 +47,20 @@ application {
|
||||
applicationName = "3DChess"
|
||||
}
|
||||
|
||||
|
||||
// Add libraries into the final jar
|
||||
jar {
|
||||
archiveBaseName = rootProject.getName() + "-" + os
|
||||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE
|
||||
manifest {
|
||||
attributes 'Main-Class': application.mainClass
|
||||
attributes "Main-Class": application.mainClass
|
||||
}
|
||||
from {
|
||||
configurations.compileClasspath.collect { it.isDirectory() ? it : zipTree(it) }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
run {
|
||||
standardInput = System.in
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user