Skip to content

Commit f109d19

Browse files
Simon Stonembwhite
authored andcommitted
[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 540b9ca commit f109d19

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
@@ -39,6 +39,8 @@ dependencies {
3939
implementation 'com.github.everit-org.json-schema:org.everit.json.schema:1.11.1'
4040
compile 'io.swagger.core.v3:swagger-annotations:2.0.0'
4141
implementation group: 'org.json', name: 'json', version: '20180813'
42+
// Required if using Java 11+ as no longer bundled in the core libraries
43+
testCompile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.1'
4244
}
4345

4446
sourceSets {

0 commit comments

Comments
 (0)