Preshadow lwjgl_util instead of copying source of specific classes

This commit is contained in:
Jonas Herzig
2019-03-13 17:43:33 +01:00
parent 106f14d8c7
commit 4eb5d2d9cf
2 changed files with 4 additions and 1 deletions

2
jGui

Submodule jGui updated: 79b0aaf3e9...85b7fa2424

View File

@@ -192,6 +192,9 @@ dependencies {
transitive = false // FG 1.2 puts all MC deps into the compile configuration and we don't want to shade those
exclude group: 'org.projectlombok', module: 'lombok' // runtime only for @SneakyThrows which isn't used
}
project(":jGui:$jGuiVersion").afterEvaluate {
shade files(project(":jGui:$jGuiVersion").tasks.preshadowJar.archivePath) // include pre-shadowed lwjgl_util
}
if (!gradle.gradleVersion.startsWith('3.')) {
annotationProcessor 'org.projectlombok:lombok:1.16.6'