-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-Authored-By: Maksim Belov <[email protected]> Co-Authored-By: Mathias Boulay <[email protected]>
- Loading branch information
1 parent
6bb7112
commit e95214a
Showing
38 changed files
with
14,101 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
plugins { | ||
id 'java' | ||
} | ||
|
||
group = 'org.lwjgl.glfw' | ||
|
||
configurations.default.setCanBeResolved(true) | ||
|
||
jar { | ||
duplicatesStrategy = DuplicatesStrategy.EXCLUDE | ||
archiveBaseName = "lwjgl-glfw-classes" | ||
destinationDirectory.set(file("../src/main/assets/lwjgl/")) | ||
// Auto update the version with a timestamp so the project jar gets updated by Pojav | ||
File versionFile = file("../src/main/assets/lwjgl/version") | ||
versionFile.write(String.valueOf(new Date().getTime())) | ||
from { | ||
configurations.default.collect { | ||
println(it.getName()) | ||
it.isDirectory() ? it : zipTree(it) | ||
} | ||
} | ||
exclude 'net/java/openjdk/cacio/ctc/**' | ||
} | ||
|
||
java { | ||
toolchain { | ||
languageVersion = JavaLanguageVersion.of(8) | ||
} | ||
} | ||
|
||
dependencies { | ||
implementation fileTree(dir: 'libs', include: ['*.jar']) | ||
} |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.