Skip to content

Commit 07c2638

Browse files
committed
addressed PR comments
Signed-off-by: Mitchell Gale <Mitchell.Gale@improving.com>
1 parent 2d6cd5b commit 07c2638

1 file changed

Lines changed: 3 additions & 9 deletions

File tree

build.gradle

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,9 @@ allprojects {
116116
sourceCompatibility = targetCompatibility = "11"
117117
}
118118
configurations.all {
119-
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib:1.6.0"
120-
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib-common:1.6.0"
119+
resolutionStrategy.force "com.squareup.okio:okio:3.5.0"
120+
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib:1.9.0"
121+
resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.0"
121122
}
122123
}
123124

@@ -219,12 +220,5 @@ task updateVersion {
219220
println "Setting version to ${newVersion}."
220221
// String tokenization to support -SNAPSHOT
221222
ant.replaceregexp(file:'build.gradle', match: '"opensearch.version", "\\d.*"', replace: '"opensearch.version", "' + newVersion.tokenize('-')[0] + '-SNAPSHOT"', flags:'g', byline:true)
222-
ant.replaceregexp(match:'"version": "\\d+.\\d+.\\d+.\\d+', replace:'"version": ' + '"' + newVersion.tokenize('-')[0] + '.0', flags:'g', byline:true) {
223-
fileset(dir: projectDir) {
224-
include(name: "workbench/package.json")
225-
include(name: "workbench/opensearch_dashboards.json")
226-
}
227-
}
228-
ant.replaceregexp(file:'workbench/opensearch_dashboards.json', match:'"opensearchDashboardsVersion": "\\d+.\\d+.\\d+', replace:'"opensearchDashboardsVersion": ' + '"' + newVersion.tokenize('-')[0], flags:'g', byline:true)
229223
}
230224
}

0 commit comments

Comments
 (0)