You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/dsl/KotlinMultiplatformExtension.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -53,7 +53,7 @@ abstract class KotlinMultiplatformExtension(project: Project) :
53
53
}
54
54
55
55
internalval internalKotlinTargetHierarchy by lazy {
Copy file name to clipboardExpand all lines: libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/KotlinPluginLifecycle.kt
Copy file name to clipboardExpand all lines: libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/gradle/plugin/mpp/targetHierarchy/KotlinTargetHierarchyDslImpl.kt
Copy file name to clipboardExpand all lines: libraries/tools/kotlin-gradle-plugin/src/functionalTest/kotlin/org/jetbrains/kotlin/gradle/unitTests/KotlinAndroidTargetHierarchyDsl.kt
+2-14Lines changed: 2 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -25,7 +25,7 @@ class KotlinAndroidTargetHierarchyDsl {
25
25
26
26
@Test
27
27
fun`test - module - not set`() = buildProjectWithMPP().runLifecycleAwareTest {
28
-
val dsl =KotlinAndroidVariantHierarchyDslImpl(project.kotlinPluginLifecycle)
28
+
val dsl =KotlinAndroidVariantHierarchyDslImpl(project.objects)
29
29
project.kotlinPluginLifecycle.launch {
30
30
assertNull(dsl.sourceSetTree.orNull)
31
31
assertNull(dsl.sourceSetTree.awaitFinalValue())
@@ -34,25 +34,13 @@ class KotlinAndroidTargetHierarchyDsl {
34
34
35
35
@Test
36
36
fun`test - module - can be set in users afterEvaluate`() = buildProjectWithMPP().runLifecycleAwareTest {
37
-
val dsl =KotlinAndroidVariantHierarchyDslImpl(project.kotlinPluginLifecycle)
37
+
val dsl =KotlinAndroidVariantHierarchyDslImpl(project.objects)
0 commit comments