Skip to content

Commit

Permalink
Removing Kotlin Runtime library bundled into library (#30)
Browse files Browse the repository at this point in the history
Also Currently plugins are using kotlin version 1.4 so using the same

Signed-off-by: @akbhatta
  • Loading branch information
akbhatta authored Jun 3, 2021
1 parent 596534e commit 200649d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ buildscript {
ext {
opensearch_group = "org.opensearch"
opensearch_version = System.getProperty("opensearch.version", "1.0.0-rc1")
kotlin_version = System.getProperty("kotlin.version", "1.5.10")
kotlin_version = System.getProperty("kotlin.version", "1.4.32")
}

repositories {
Expand Down Expand Up @@ -63,9 +63,9 @@ configurations {

dependencies {
compileOnly "org.opensearch.client:opensearch-rest-high-level-client:${opensearch_version}"
compile "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}"
compile "org.jetbrains.kotlin:kotlin-stdlib-common:${kotlin_version}"
compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.0" // ${kotlin_version} may not work for some versions
compileOnly "org.jetbrains.kotlin:kotlin-stdlib:${kotlin_version}"
compileOnly "org.jetbrains.kotlin:kotlin-stdlib-common:${kotlin_version}"
compileOnly "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.3" // ${kotlin_version} does not work for coroutines
testCompile "org.opensearch.test:framework:${opensearch_version}"
testCompile "org.jetbrains.kotlin:kotlin-test:${kotlin_version}"
testCompile "org.mockito:mockito-core:3.10.0"
Expand Down

0 comments on commit 200649d

Please sign in to comment.