File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff 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' , {
Original file line number Diff line number Diff line change @@ -3,19 +3,19 @@ apply from: 干.file('base/kotlin.gradle')
33apply plugin : ' dev.equo.p2deps'
44p2deps {
55 into ' api' , {
6- p2repo " https://download.eclipse.org/eclipse/updates/$S WT_VERSION /"
6+ p2repo " https://download.eclipse.org/eclipse/updates/$V ER_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/$S WT_VERSION /"
14+ p2repo " https://download.eclipse.org/eclipse/updates/$V ER_ECLIPSE_PLATFORM /"
1515 install ' org.eclipse.swt'
1616 }
1717 into ' testImplementation' , {
18- p2repo " https://download.eclipse.org/eclipse/updates/$S WT_VERSION /"
18+ p2repo " https://download.eclipse.org/eclipse/updates/$V ER_ECLIPSE_PLATFORM /"
1919 install ' org.eclipse.swt'
2020 }
2121}
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ VER_DURIAN=1.2.0
1616VER_DURIAN_RX =5.0.1
1717VER_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
2323VER_JUNIT =4.13.2
You can’t perform that action at this time.
0 commit comments