Skip to content

Commit 79d441d

Browse files
committed
Build OSGi bundle with latest Eclipse
1 parent 15207d3 commit 79d441d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

build.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ buildscript {
66
}
77
dependencies {
88
classpath 'com.github.missedone:gradle-bintray-p2-plugin:1.2.0'
9+
classpath 'org.standardout:bnd-platform:1.7.0'
910
}
1011
}
1112

@@ -22,7 +23,7 @@ apply plugin: 'bintray-p2'
2223

2324
group 'org.contextmapper'
2425

25-
sourceCompatibility = 1.8
26+
sourceCompatibility = 11
2627

2728
if (!project.hasProperty('signing.secretKeyRingFile')) {
2829
project.ext.'signing.secretKeyRingFile' = "${rootDir}/secret-key.gpg"
@@ -169,7 +170,6 @@ updateSiteZip.dependsOn clean
169170
build.finalizedBy(updateSiteZip)
170171

171172
platform {
172-
173173
bundle "org.contextmapper:context-map-generator:${version}", {
174174
bnd {
175175
symbolicName = 'org.contextmapper.contextmap.generator'
@@ -191,6 +191,8 @@ platform {
191191
categoryName 'Context Map Generator'
192192
categoryId 'org.contextmapper.contextmap.generator'
193193

194+
eclipseMirror 'https://ftp.fau.de/eclipse/technology/epp/downloads/release/2020-03/R/eclipse-java-2020-03-R-linux-gtk-x86_64.tar.gz'
195+
downloadsDir new File(buildDir, 'eclipse')
194196
useBndHashQualifiers false
195197
useFeatureHashQualifiers false
196198
defaultQualifier new SimpleDateFormat("YYYYMMddHHmmss").format(new Date())

0 commit comments

Comments
 (0)