mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 15:48:51 +00:00
Gradle plugin. Replace 'androidx.compose' artifacts by 'org.jetbrains.compose' artifacts, get version from gradle properties
Fixes https://github.com/JetBrains/compose-jb/issues/272
This commit is contained in:
@@ -6,16 +6,17 @@ import kotlinx.coroutines.flow.filter
|
||||
import kotlinx.coroutines.flow.flow
|
||||
import kotlinx.coroutines.flow.map
|
||||
import kotlinx.coroutines.runBlocking
|
||||
import org.gradle.api.Project
|
||||
|
||||
private const val libsRepo = "https://maven.pkg.jetbrains.space/public/p/compose/dev/org/jetbrains/compose/"
|
||||
private const val version = "0.3.0-build154"
|
||||
private val exceptions = listOf(
|
||||
"desktop:desktop",
|
||||
"compose-full",
|
||||
"compose-gradle-plugin"
|
||||
)
|
||||
|
||||
fun printAllAndroidxReplacements() = runBlocking {
|
||||
fun Project.printAllAndroidxReplacements() = runBlocking {
|
||||
val version = BuildProperties.composeVersion(project)
|
||||
HttpClient().use { client ->
|
||||
client
|
||||
.allRecursiveFolders(libsRepo)
|
||||
|
||||
Reference in New Issue
Block a user