dG
01/16/2019, 8:44 AMkotlin-stdlib-jre8
with the jdk version in libraries I am using with gradle? I tried adding the jdk as a dependency, and then this on top of the build file:
configurations.all {
exclude group: "org.jetbrains.kotlin", module: "kotlin-stdlib-jre8"
exclude group: "org.jetbrains.kotlin", module: 'kotlin-stdlib-jre7'
}
but with gradle's dependencyInsight
the jre is still there..ilya.gorbunov
01/16/2019, 2:44 PM-jdk7/8
artifacts are not binary drop-in replacements for -jre7/8
. You need to use dependencies recompiled with -jdk7/8
instead of -jre7/8
if you don't want to have the latter brought transitively.