This repository was archived by the owner on Aug 7, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +10
-7
lines changed
buildSrc/src/main/java/com/google/android/material/composethemeadapter Expand file tree Collapse file tree 3 files changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -51,10 +51,8 @@ subprojects {
5151 mavenCentral()
5252 jcenter()
5353
54- if (Libs.AndroidX.Compose . version. endsWith(" SNAPSHOT" )) {
55- maven {
56- url " https://androidx.dev/snapshots/builds/${ Libs.AndroidX.Compose.snapshot} /artifacts/ui/repository/"
57- }
54+ if (! Libs.AndroidX.Compose . snapshot. isEmpty()) {
55+ maven { url Libs.AndroidX.Compose . snapshotUrl }
5856 }
5957 }
6058
Original file line number Diff line number Diff line change @@ -41,8 +41,13 @@ object Libs {
4141
4242 object AndroidX {
4343 object Compose {
44- const val snapshot = " "
45- const val version = " 0.1.0-dev17"
44+ const val snapshot = " 6765009"
45+
46+ @JvmStatic
47+ val snapshotUrl: String
48+ get() = " https://androidx.dev/snapshots/builds/$snapshot /artifacts/ui/repository/"
49+
50+ private const val version = " 1.0.0-SNAPSHOT"
4651
4752 const val runtime = " androidx.compose.runtime:runtime:$version "
4853 const val foundation = " androidx.compose.foundation:foundation:${version} "
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ org.gradle.parallel=true
2626# #########################
2727
2828GROUP =com.google.android.material
29- VERSION_NAME =0.1 .0-SNAPSHOT
29+ VERSION_NAME =1.0 .0-SNAPSHOT
3030
3131POM_DESCRIPTION =A library that enables reuse of Material Components for Android themes for theming in Jetpack Compose
3232
You can’t perform that action at this time.
0 commit comments