Skip to content

Latest commit

 

History

History
executable file
·
18 lines (13 loc) · 544 Bytes

add-jaxb-dependencies.md

File metadata and controls

executable file
·
18 lines (13 loc) · 544 Bytes

Add JAXB Dependencies

Category: Java

In Java versions higher than Java 8, JAXB dependencies for parsing JSON are no longer contained in the JDK/JRE. You must manually add them as a dependency to your project.

Add to Gradle build file

Adding the following dependencies to your gradle.build file.

dependencies {
	implementation 'javax.xml.bind:jaxb-api:2.3.0'
	implementation 'com.sun.xml.bind:jaxb-impl:2.3.0'
	implementation 'com.sun.xml.bind:jaxb-core:2.3.0'
	implementation 'javax.activation:activation:1.1.1'
}