File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
kmp-composeuiviewcontroller-gradle-plugin/src/test/kotlin/composeuiviewcontroller Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,6 @@ import com.github.guilhe.kmp.composeuiviewcontroller.gradle.KmpComposeUIViewCont
2727import com.github.guilhe.kmp.composeuiviewcontroller.gradle.KmpComposeUIViewControllerPlugin.Companion.TASK_COPY_FILES_TO_XCODE
2828import kotlinx.serialization.json.Json
2929import org.gradle.api.internal.project.DefaultProject
30- import org.gradle.internal.impldep.junit.framework.TestCase.assertNotNull
3130import org.gradle.testfixtures.ProjectBuilder
3231import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
3332import org.jetbrains.kotlin.gradle.plugin.KotlinSourceSet
@@ -38,6 +37,7 @@ import kotlin.test.AfterTest
3837import kotlin.test.BeforeTest
3938import kotlin.test.Test
4039import kotlin.test.assertFalse
40+ import kotlin.test.assertNotNull
4141import kotlin.test.assertTrue
4242
4343class PluginTest {
@@ -141,7 +141,7 @@ class PluginTest {
141141 val kspConfigName = " ksp${target.targetName.replaceFirstChar { it.uppercaseChar() }} "
142142 val config = project.configurations.findByName(kspConfigName)
143143 assertNotNull(config)
144- assertTrue(config!! .dependencies.any { it.group == LIB_GROUP && it.name == LIB_KSP_NAME })
144+ assertTrue(config.dependencies.any { it.group == LIB_GROUP && it.name == LIB_KSP_NAME })
145145 }
146146 }
147147
Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ kotlin {
3333 implementation(compose.foundation)
3434 implementation(compose.material3)
3535 implementation(compose.ui)
36+ api(projects.sharedModels)
3637 }
3738 jvmMain.dependencies { implementation(compose.preview) }
3839 }
You can’t perform that action at this time.
0 commit comments