Skip to content

Commit aaaa4f9

Browse files
committed
Gson update.
1 parent 3087996 commit aaaa4f9

File tree

3 files changed

+14
-2
lines changed

3 files changed

+14
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ xpath-to-xml uses [semver](http://semver.org/) for its versioning convention.
99
### Upcoming
1010
- Core
1111
- preceding and preceding-sibling axises support.
12-
- 🧰 [Gson] Bump Gson version to 2.8.9
12+
13+
### 2.3.4
14+
- 🧰 [Gson] Bump Gson version to 2.9.0
15+
- 🧰 [Gson] Push minimal java version to Java 7
1316
- 🧰 [Jackson] Bump Jackson version to 2.13.1
1417
- 🧰 [JDOM] Bump JDOM2 version to 2.0.6.1
1518

gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ scalaxml = '2.0.1'
99
[libraries]
1010
assertj = 'org.assertj:assertj-core:3.22.0'
1111
dom4j = 'org.dom4j:dom4j:2.1.3'
12-
gson = 'com.google.code.gson:gson:2.8.9'
12+
gson = 'com.google.code.gson:gson:2.9.0'
1313
jackson-databind = { module = 'com.fasterxml.jackson.core:jackson-databind', version.ref = 'jackson' }
1414
jackson-dataformat-yaml = { module = 'com.fasterxml.jackson.dataformat:jackson-dataformat-yaml', version.ref = 'jackson' }
1515
jaxen = 'jaxen:jaxen:1.2.0'

xpath-to-json-gson/build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,20 @@ ext.moduleName = 'com.github.simych.xpath.gson'
22

33
apply from: rootProject.file('gradle/benchmark-jmh.gradle')
44

5+
sourceCompatibility = JavaVersion.VERSION_1_7
6+
targetCompatibility = JavaVersion.VERSION_1_7
7+
58
dependencies {
69
api project(':xpath-to-xml-core')
710

811
implementation libs.gson
912

1013
testImplementation project(':xpath-to-xml-test')
1114
testImplementation libs.bundles.junit
15+
}
16+
17+
compileJava {
18+
if (JavaVersion.current().isJava9Compatible()) {
19+
options.release = 7
20+
}
1221
}

0 commit comments

Comments
 (0)