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