roberto.guerra
08/16/2017, 1:34 PMkotlin-stdlib-jre8
always include kotlin-stdlib-jre7
, and if so, does it do any harm to use excludes
to leave out jre7
from the runtimeClasspath
?
runtimeClasspath - Runtime classpath of source set 'main'.
+--- org.slf4j:slf4j-api:1.7.22
+--- org.jetbrains.kotlin:kotlin-stdlib-jre8:1.1.4
| +--- org.jetbrains.kotlin:kotlin-stdlib:1.1.4
| | \--- org.jetbrains:annotations:13.0
| \--- org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.4
| \--- org.jetbrains.kotlin:kotlin-stdlib:1.1.4 (*)
robinho
08/16/2017, 2:18 PMroberto.guerra
08/16/2017, 2:27 PMroberto.guerra
08/16/2017, 2:28 PMRuckus
08/16/2017, 2:41 PMroberto.guerra
08/16/2017, 2:42 PMroberto.guerra
08/16/2017, 2:42 PMRuckus
08/16/2017, 2:46 PMkotlin-stdlib-jreN
does not include the the JRE, just some helpful methods to interface with the changes. If they already have all the changes for Java 7 in the jre7 library, why would they write them all again when they can just include them with the jre8 library?roberto.guerra
08/16/2017, 2:48 PMkotlin-stdlib-jreN
would “look” the same. For example, when I install the jre8
, I don’t need to also install the jre7
. But your explanation clarifies my confusion.