@@ -66,6 +66,7 @@ abstract class ComposePlugin : Plugin<Project> {
6666
6767 @Suppress(" DEPRECATION" )
6868 class Dependencies (project : Project ) {
69+ @Deprecated(" Specify dependency directly" )
6970 val desktop = DesktopDependencies
7071 @Deprecated(" Specify dependency directly" , replaceWith = ReplaceWith (" \" org.jetbrains.compose.animation:animation:${ComposeBuildConfig .composeVersion} \" " ))
7172 val animation get() = composeDependency(" org.jetbrains.compose.animation:animation" )
@@ -132,6 +133,7 @@ abstract class ComposePlugin : Plugin<Project> {
132133 @Deprecated(" Specify dependency directly" , replaceWith = ReplaceWith (" \" org.jetbrains.compose.ui:ui-test-junit4:${ComposeBuildConfig .composeVersion} \" " ))
133134 val uiTestJUnit4 get() = composeDependency(" org.jetbrains.compose.ui:ui-test-junit4" )
134135
136+ @Deprecated(" Specify dependency directly" , replaceWith = ReplaceWith (" \" org.jetbrains.compose.desktop:desktop:${ComposeBuildConfig .composeVersion} \" " ))
135137 val currentOs by lazy {
136138 composeDependency(" org.jetbrains.compose.desktop:desktop-jvm-${currentTarget.id} " )
137139 }
@@ -193,11 +195,14 @@ abstract class ComposePlugin : Plugin<Project> {
193195 }
194196}
195197
198+ @Deprecated(" Compose Multiplatform releases are published to Maven Central" )
196199fun RepositoryHandler.jetbrainsCompose (): MavenArtifactRepository =
197200 maven { repo -> repo.setUrl(" https://packages.jetbrains.team/maven/p/cmp/dev" ) }
198201
202+ @Deprecated(" Specify dependency directly" )
199203fun KotlinDependencyHandler.compose (groupWithArtifact : String ) = composeDependency(groupWithArtifact)
200204
205+ @Deprecated(" Specify dependency directly" )
201206fun DependencyHandler.compose (groupWithArtifact : String ) = composeDependency(groupWithArtifact)
202207
203208private fun composeDependency (groupWithArtifact : String ) = " $groupWithArtifact :$composeVersion "
0 commit comments