Skip to content

Commit 9c1329c

Browse files
committed
fixed kotlin mixed version dependencies problem
1 parent d7efca8 commit 9c1329c

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,15 @@ dependencies {
4848
testCompile "com.fasterxml.jackson.core:jackson-databind:2.10.4"
4949
testCompile "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:2.10.4"
5050
}
51+
configurations.all {
52+
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
53+
def requested = details.requested
54+
if (requested.group == "org.jetbrains.kotlin") {
55+
details.useVersion versionKotlin
56+
}
57+
}
58+
}
59+
5160
asteriaEmail {
5261
smtpHost = System.getenv("ASTERIA_EMAIL_SMTP_HOST")
5362
smptUser = System.getenv("ASTERIA_EMAIL_SMTP_USER")

0 commit comments

Comments
 (0)