Added is64bit info to swtType
This commit is contained in:
parent
a2d64c68bb
commit
1bbbb37429
@ -3,7 +3,7 @@ package dorkbox.gradle
|
|||||||
/**
|
/**
|
||||||
* contains the different SWT maven configurations that we support
|
* contains the different SWT maven configurations that we support
|
||||||
*/
|
*/
|
||||||
enum class SwtType(val id: String) {
|
enum class SwtType(val id: String, val is64bit: Boolean) {
|
||||||
// SEE: https://repo1.maven.org/maven2/org/eclipse/platform/
|
// SEE: https://repo1.maven.org/maven2/org/eclipse/platform/
|
||||||
|
|
||||||
// windows
|
// windows
|
||||||
@ -17,11 +17,14 @@ enum class SwtType(val id: String) {
|
|||||||
// macoxs
|
// macoxs
|
||||||
// org.eclipse.swt.cocoa.macosx.x86_64
|
// org.eclipse.swt.cocoa.macosx.x86_64
|
||||||
|
|
||||||
LINUX_32("org.eclipse.swt.gtk.linux.x86"),
|
// This is really SWT version 4.xx? no idea how the internal versions are tracked
|
||||||
LINUX_64("org.eclipse.swt.gtk.linux.x86_64"),
|
// 4.4 is the oldest version that works with us, and the release of SWT is sPecIaL!
|
||||||
MAC_64("org.eclipse.swt.cocoa.macosx.x86_64"),
|
// version 3.108.0 is the MOST RECENT version supported by x86. Newer versions no longer support x86
|
||||||
WIN_32("org.eclipse.swt.win32.win32.x86"),
|
LINUX_32("org.eclipse.swt.gtk.linux.x86", false),
|
||||||
WIN_64("org.eclipse.swt.win32.win32.x86_64");
|
LINUX_64("org.eclipse.swt.gtk.linux.x86_64", true),
|
||||||
|
MAC_64("org.eclipse.swt.cocoa.macosx.x86_64", true),
|
||||||
|
WIN_32("org.eclipse.swt.win32.win32.x86", false),
|
||||||
|
WIN_64("org.eclipse.swt.win32.win32.x86_64", true);
|
||||||
|
|
||||||
|
|
||||||
fun fullId(version: String): String {
|
fun fullId(version: String): String {
|
||||||
|
Loading…
Reference in New Issue
Block a user