[Gradle] Updated logic to add stdlib default dependency published with Gradle metadata

Since Kotlin 1.9.20, Kotlin stdlib is published with Gradle metadata,
which allows Gradle itself to select proper dependency subtypes. Now
stdlib in MPP projects is only added to common dependencies.

The default artifact for JVM was changed from 'kotlin-stdlib-jdk8' to
'kotlin-stdlib'.

^KT-59000 Fixed
This commit is contained in:
Yahor Berdnikau
2023-07-27 19:56:04 +02:00
committed by Space Team
parent 8154f7ab37
commit 94013b1ff2
8 changed files with 110 additions and 22 deletions
+1
View File
@@ -6,6 +6,7 @@
<trusted-artifacts>
<trust version="211.7442.40" file="ivy-211.7442.40.xml"/>
<trust version="212.4746.92" file="ivy-212.4746.92.xml"/>
<trust group="org.jetbrains.kotlin" name="kotlin-stdlib-common" version="1.4.0" reason="Cannot declare new component explicitly before bootstrap due to verification-metadata test considering it redundant"/>
<trust file=".*-javadoc[.]jar" regex="true"/>
<trust file=".*-sources[.]jar" regex="true"/>
<trust file=".*[.]module" regex="true"/>