Skip to content

Commit cc5508e

Browse files
committed
Add the mac aarch jars into the build.
1 parent 002f709 commit cc5508e

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@ subprojects { subProject ->
5151
} else {
5252
apply plugin: 'com.diffplug.eclipse.mavencentral'
5353
String platformCode = project.name.substring('durian-swt.'.length())
54+
String SWT_TO_USE = platformCode.endsWith("x86") ? SWT_VERSION_X86 : SWT_VERSION
5455
eclipseMavenCentral {
55-
release SWT_VERSION, {
56+
release SWT_TO_USE, {
5657
api "org.eclipse.swt.$platformCode"
5758
}
5859
}

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ VER_DURIAN_RX=3.0.0
1515
VER_DURIAN_DEBUG=1.0.0
1616
VER_RXJAVA=2.0.0
1717
# SWT Dependencies from P2
18-
SWT_VERSION=4.7.0
18+
SWT_VERSION=4.21.0
19+
SWT_VERSION_X86=4.7.0
1920

2021
# Testing
2122
VER_JUNIT=4.12

settings.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ rootProject.name = 'durian-swt-root'
2828

2929
include 'durian-swt'
3030
include 'durian-swt.os'
31+
include 'durian-swt.cocoa.macosx.aarch64'
3132
include 'durian-swt.cocoa.macosx.x86_64'
3233
include 'durian-swt.gtk.linux.x86_64'
3334
include 'durian-swt.gtk.linux.x86'

0 commit comments

Comments
 (0)