Skip to content

Commit f5152b7

Browse files
authored
fix: isolate Kotlin dependency to test scope. (#731)
1 parent 3d49509 commit f5152b7

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Update:
66
- refactor: add validation for asset issuer. ([#725](https://github.com/stellar/java-stellar-sdk/pull/725))
77
- refactor: add validation for liquidity pool ID length in `TrustLineAsset`. ([#726](https://github.com/stellar/java-stellar-sdk/pull/726))
8+
- fix: isolate Kotlin dependency to test scope. ([#731](https://github.com/stellar/java-stellar-sdk/pull/731))
89

910
## 2.0.0-beta1
1011

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ dependencies {
5050
implementation("org.bouncycastle:bcprov-jdk18on:1.79")
5151
implementation("commons-codec:commons-codec:1.17.1")
5252

53+
testImplementation(kotlin("stdlib"))
5354
testImplementation("org.mockito:mockito-core:5.14.2")
5455
testImplementation("com.squareup.okhttp3:mockwebserver:${okhttpVersion}")
5556
testImplementation("junit:junit:4.13.2")

gradle.properties

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# This flag prevents the Kotlin Gradle plugin from automatically adding
2+
# the kotlin-stdlib dependency to the 'implementation' configuration.
3+
kotlin.stdlib.default.dependency=false

0 commit comments

Comments
 (0)