diff options
author | Julien Gouesse <[email protected]> | 2021-09-04 01:52:47 +0200 |
---|---|---|
committer | Julien Gouesse <[email protected]> | 2021-09-04 01:52:47 +0200 |
commit | 0d3778a529cfd1fe0fea6ce9883e729ba6839716 (patch) | |
tree | 9f039e08d6deaba34d36ff18ff0f9851bb308e03 /ardor3d-examples | |
parent | 38752a7146c4fb21ac3e118a7ffc7a8331a731e8 (diff) |
Fixes gradle build with Gradle 7.2
Diffstat (limited to 'ardor3d-examples')
-rw-r--r-- | ardor3d-examples/build.gradle | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/ardor3d-examples/build.gradle b/ardor3d-examples/build.gradle index b2e4e37..82a4420 100644 --- a/ardor3d-examples/build.gradle +++ b/ardor3d-examples/build.gradle @@ -13,4 +13,20 @@ dependencies { implementation project(':ardor3d-terrain') implementation project(':ardor3d-ui') implementation project(':ardor3d-craft') + implementation project(':ardor3d-core') + implementation project(':ardor3d-math') + implementation project(':ardor3d-savable') + implementation project(':ardor3d-animation') + implementation group: 'org.jogamp.gluegen', name: 'gluegen-rt-main', version:'2.3.2' + implementation group: 'org.jogamp.jogl', name: 'jogl-all-main', version:'2.3.2' + def os = System.getProperty("os.name").toLowerCase() + if (os.contains("windows")) { + implementation group: 'org.eclipse.platform', name: 'org.eclipse.swt.win32.win32.x86_64', version:'3.106.3' + } + else if (os.contains("linux")) { + implementation group: 'org.eclipse.platform', name: 'org.eclipse.swt.gtk.linux.x86_64', version:'3.106.3' + } + else if (os.contains("mac")) { + implementation group: 'org.eclipse.platform', name: 'org.eclipse.swt.cocoa.macosx.x86_64', version:'3.106.3' + } } |