Skip to content

Commit

Permalink
[8.5] update snakeyaml dependency (#90414) (#90483)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakelandis authored Sep 28, 2022
1 parent 48e36f4 commit 76d8e86
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 2 additions & 0 deletions build-tools-internal/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ configurations {
dependencies {
constraints {
integTestImplementation('org.ow2.asm:asm:9.3')
implementation "org.yaml:snakeyaml:${versions.snakeyaml}"
}
components.all(JacksonAlignmentRule)
constraints {
Expand Down Expand Up @@ -293,6 +294,7 @@ dependencies {
testImplementation buildLibs.spock.junit4
testImplementation buildLibs.json.assert
integTestImplementation buildLibs.xmlunit.core

}

tasks.named('test').configure {
Expand Down
2 changes: 1 addition & 1 deletion build-tools-internal/version.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ bundled_jdk = 18.0.2.1+1@db379da656dc47308e138f21b33976fa
spatial4j = 0.7
jts = 1.15.0
jackson = 2.13.3
snakeyaml = 1.26
snakeyaml = 1.33
icu4j = 68.2
supercsv = 2.4.0
log4j = 2.18.0
Expand Down
6 changes: 3 additions & 3 deletions gradle/verification-metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4002,9 +4002,9 @@
<sha256 value="664543f6a054e314ea0e6ff5118c1e2c32a2f1c3f90b138e45064c17ff3962fc" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="org.yaml" name="snakeyaml" version="1.30">
<artifact name="snakeyaml-1.30.jar">
<sha256 value="f43a4e40a946b8cdfd0321bc1c9a839bc3f119c57e4ca84fb87c367f51c8b2b3" origin="Generated by Gradle"/>
<component group="org.yaml" name="snakeyaml" version="1.33">
<artifact name="snakeyaml-1.33.jar">
<sha256 value="11ff459788f0a2d781f56a4a86d7e69202cebacd0273d5269c4ae9f02f3fd8f0" origin="Generated by Gradle"/>
</artifact>
</component>
<component group="ua.net.nlp" name="morfologik-ukrainian-search" version="3.7.5">
Expand Down
2 changes: 1 addition & 1 deletion libs/x-content/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def generateProviderManifest = tasks.register("generateProviderManifest") {
}
}

def generateProviderImpl = tasks.register("generateProviderImpl", Copy) {
def generateProviderImpl = tasks.register("generateProviderImpl", Sync) {
destinationDir = new File(generatedResourcesDir, "impl")
into("IMPL-JARS/x-content") {
from(configurations.providerImpl)
Expand Down
3 changes: 1 addition & 2 deletions libs/x-content/impl/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ apply plugin: 'elasticsearch.java'
archivesBaseName = "x-content-impl"

String jacksonVersion = "2.13.2"
String snakeyamlVersion = "1.30"

dependencies {
compileOnly project(':libs:elasticsearch-core')
Expand All @@ -20,7 +19,7 @@ dependencies {
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-smile:${jacksonVersion}"
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-yaml:${jacksonVersion}"
implementation "com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:${jacksonVersion}"
implementation "org.yaml:snakeyaml:${snakeyamlVersion}"
implementation "org.yaml:snakeyaml:${versions.snakeyaml}"

testImplementation(project(":test:framework")) {
exclude group: 'org.elasticsearch', module: 'elasticsearch-x-content'
Expand Down

0 comments on commit 76d8e86

Please sign in to comment.