Skip to content

Commit bbbfa01

Browse files
authored
Remove rogue platform-specific dependency (#23)
2 parents 8eed7e4 + 27c46ba commit bbbfa01

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

CHANGES.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# DurianSwt releases
22

33
## [Unreleased]
4+
### Fixed
5+
- Remove the errant platform-specific SWT artifact which was added as a transitive dependency in the pom of `durian-swt:4.2.0`. ([#23](https://github.com/diffplug/durian-swt/pull/23))
46

57
## [4.2.0] - 2023-04-27
68
### Added

durian-swt/build.gradle

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ p2deps {
66
p2repo "https://download.eclipse.org/eclipse/updates/$SWT_VERSION/"
77
install 'org.eclipse.swt'
88
install 'org.eclipse.jface'
9+
addFilter 'no-platform', {
10+
it.platformNone()
11+
}
12+
}
13+
into 'compileOnly', {
14+
p2repo "https://download.eclipse.org/eclipse/updates/$SWT_VERSION/"
15+
install 'org.eclipse.swt'
16+
}
17+
into 'testImplementation', {
18+
p2repo "https://download.eclipse.org/eclipse/updates/$SWT_VERSION/"
19+
install 'org.eclipse.swt'
920
}
1021
}
1122
dependencies {

0 commit comments

Comments
 (0)