Skip to content

Commit 7643fec

Browse files
committed
More standard version naming.
1 parent c1f1825 commit 7643fec

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ subprojects { subProject ->
5656
}
5757
} else {
5858
String platformCode = project.name.substring('durian-swt.'.length())
59-
String SWT_TO_USE = platformCode.endsWith("x86") ? SWT_VERSION_X86 : SWT_VERSION
59+
String SWT_TO_USE = platformCode.endsWith("x86") ? VER_ECLIPSE_PLATFORM_X86 : VER_ECLIPSE_PLATFORM
6060
apply plugin: 'dev.equo.p2deps'
6161
p2deps {
6262
into 'api', {

durian-swt/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@ apply from: 干.file('base/kotlin.gradle')
33
apply plugin: 'dev.equo.p2deps'
44
p2deps {
55
into 'api', {
6-
p2repo "https://download.eclipse.org/eclipse/updates/$SWT_VERSION/"
6+
p2repo "https://download.eclipse.org/eclipse/updates/$VER_ECLIPSE_PLATFORM/"
77
install 'org.eclipse.swt'
88
install 'org.eclipse.jface'
99
addFilter 'no-platform', {
1010
it.platformNone()
1111
}
1212
}
1313
into 'compileOnly', {
14-
p2repo "https://download.eclipse.org/eclipse/updates/$SWT_VERSION/"
14+
p2repo "https://download.eclipse.org/eclipse/updates/$VER_ECLIPSE_PLATFORM/"
1515
install 'org.eclipse.swt'
1616
}
1717
into 'testImplementation', {
18-
p2repo "https://download.eclipse.org/eclipse/updates/$SWT_VERSION/"
18+
p2repo "https://download.eclipse.org/eclipse/updates/$VER_ECLIPSE_PLATFORM/"
1919
install 'org.eclipse.swt'
2020
}
2121
}

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ VER_DURIAN=1.2.0
1616
VER_DURIAN_RX=5.0.1
1717
VER_DURIAN_DEBUG=1.1.0
1818
# SWT Dependencies from P2
19-
SWT_VERSION=4.21
20-
SWT_VERSION_X86=4.7
19+
VER_ECLIPSE_PLATFORM=4.34
20+
VER_ECLIPSE_PLATFORM_X86=4.7
2121

2222
# Testing
2323
VER_JUNIT=4.13.2

0 commit comments

Comments
 (0)