aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle13
1 files changed, 10 insertions, 3 deletions
diff --git a/build.gradle b/build.gradle
index 4ea4e30..7949333 100644
--- a/build.gradle
+++ b/build.gradle
@@ -81,10 +81,17 @@ jar {
shadowJar {
archiveFileName = simpleFileName
+ relocate('com.badlogicgames.gdx', 'b') { //needed for luajava
+ include 'com.badlogicgames.gdx.utils.SharedLibraryLoad*'
+ }
+
dependencies {
- include(dependency {
- it.moduleGroup == 'party.iroiro.luajava'
- })
+ include(
+ dependency {
+ it.moduleGroup == 'party.iroiro.luajava'
+ || it.moduleGroup == 'com.badlogicgames.gdx'
+ }
+ )
}
manifest {
attributes([