Skip to content

Commit 059d043

Browse files
author
Simon Stone
committed
[FAB-6415] Add javax.xml.bind dependency for Java 11
Java 11 has cut down the modules that are bundled in the core, including javax.xml.bind which is used by some of the unit tests. Need to add this as an explicit dependency. Signed-off-by: Simon Stone <[email protected]> Change-Id: I6120a477b2f32f22a9708c42b91fbceb05f17279
1 parent cbe663b commit 059d043

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

fabric-chaincode-shim/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ dependencies {
2525
compile group: 'cglib', name: 'cglib', version: '3.2.10'
2626
implementation 'com.github.everit-org.json-schema:org.everit.json.schema:1.11.1'
2727
implementation group: 'org.json', name: 'json', version: '20180813'
28+
// Required if using Java 11+ as no longer bundled in the core libraries
29+
testCompile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
2830
}
2931

3032
sourceSets {

0 commit comments

Comments
 (0)