Skip to content

Commit

Permalink
build(deps): update to bnd-platform 3
Browse files Browse the repository at this point in the history
Use latest snapshot version to work around issue with the configuration
name `platform` conflicting with a platform method added in Gradle 5.
  • Loading branch information
stempler committed Oct 24, 2023
1 parent 7e6b5a4 commit a871679
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
24 changes: 12 additions & 12 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
}
dependencies {
classpath 'org.standardout:gradle-include-plugin:0.2.0'
classpath 'org.standardout:bnd-platform:2.0.1'
classpath 'org.standardout:bnd-platform:3.0.0-SNAPSHOT'
classpath 'zipdiff:zipdiff:0.4'
classpath "biz.aQute.bnd:biz.aQute.bnd.gradle:6.3.0"
}
Expand Down Expand Up @@ -163,17 +163,17 @@ include {

configurations {
// exclude bundles conflicting with JRE-provided packages
platform.exclude group: 'javax.xml'
platform.exclude group: 'javax.activation'
platform.exclude group: 'xml-apis'
platform.exclude group: 'dom4j'
platform.exclude group: 'stax'
platform.exclude group: 'org.w3c.dom'
platform.exclude group: 'org.apache.batik'
platform.exclude group: 'org.codehaus.woodstox'
bndplatform.exclude group: 'javax.xml'
bndplatform.exclude group: 'javax.activation'
bndplatform.exclude group: 'xml-apis'
bndplatform.exclude group: 'dom4j'
bndplatform.exclude group: 'stax'
bndplatform.exclude group: 'org.w3c.dom'
bndplatform.exclude group: 'org.apache.batik'
bndplatform.exclude group: 'org.codehaus.woodstox'

//org.apache.geronimo.specs.geronimo-stax-api_1.0_spec
platform.exclude group: 'org.apache.geronimo.specs'
bndplatform.exclude group: 'org.apache.geronimo.specs'


/*
Expand All @@ -186,7 +186,7 @@ configurations {

// fix OrientDB 1.5.1 dependenies (which were manually added to the artifactory)
// the original verions are snapshots that no longer work with OrientDB 1.5.1
platform {
bndplatform {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
if (
(details.requested.group == 'com.tinkerpop.blueprints' &&
Expand Down Expand Up @@ -739,7 +739,7 @@ platform {
}

dependencies {
platform 'de.fhg.igd:osgi-util:1.0', {
bndplatform 'de.fhg.igd:osgi-util:1.0', {
// exclude OSGi dependencies (we include Equinox/Eclipse through separate update site)
exclude module: 'org.eclipse.osgi'
exclude module: 'org.osgi.compendium'
Expand Down
2 changes: 1 addition & 1 deletion modules/shared

0 comments on commit a871679

Please sign in to comment.