Auto update lwjgl jar

This commit is contained in:
SerpentSpirale 2022-03-14 22:26:40 +01:00 committed by Boulay Mathias
parent 5cc0b144ff
commit e42251a836

View File

@ -2,12 +2,24 @@ apply plugin: 'java'
apply plugin: 'eclipse'
group = 'org.lwjgl.glfw'
version = '3.2.3'
sourceCompatibility = 1.8
targetCompatibility = 1.8
//version = '3.2.3'
//sourceCompatibility = 1.8
//targetCompatibility = 1.8
jar {
baseName = project.name
//baseName = project.name
baseName = "lwjgl-glfw-classes"
destinationDirectory.set(file("../app_pojavlauncher/src/main/assets/components/lwjgl3/"))
// Auto update the version with a timestamp so the project jar gets updated by Pojav
File versionFile = file("../app_pojavlauncher/src/main/assets/components/lwjgl3/version")
versionFile.write(String.valueOf(new Date().getTime()))
}
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {