From 0d3778a529cfd1fe0fea6ce9883e729ba6839716 Mon Sep 17 00:00:00 2001 From: Julien Gouesse Date: Sat, 4 Sep 2021 01:52:47 +0200 Subject: Fixes gradle build with Gradle 7.2 --- ardor3d-examples/build.gradle | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'ardor3d-examples') 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' + } } -- cgit v1.2.3