Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #14 from material-components/cb/compose-6765009
Browse files Browse the repository at this point in the history
Update to Compose SNAPSHOT 6765009
  • Loading branch information
chrisbanes authored Aug 24, 2020
2 parents 23c3aa5 + 4f98305 commit 53609e8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
6 changes: 2 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,8 @@ subprojects {
mavenCentral()
jcenter()

if (Libs.AndroidX.Compose.version.endsWith("SNAPSHOT")) {
maven {
url "https://androidx.dev/snapshots/builds/${Libs.AndroidX.Compose.snapshot}/artifacts/ui/repository/"
}
if (!Libs.AndroidX.Compose.snapshot.isEmpty()) {
maven { url Libs.AndroidX.Compose.snapshotUrl }
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,13 @@ object Libs {

object AndroidX {
object Compose {
const val snapshot = ""
const val version = "0.1.0-dev17"
const val snapshot = "6765009"

@JvmStatic
val snapshotUrl: String
get() = "https://androidx.dev/snapshots/builds/$snapshot/artifacts/ui/repository/"

private const val version = "1.0.0-SNAPSHOT"

const val runtime = "androidx.compose.runtime:runtime:$version"
const val foundation = "androidx.compose.foundation:foundation:${version}"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ org.gradle.parallel=true
##########################

GROUP=com.google.android.material
VERSION_NAME=0.1.0-SNAPSHOT
VERSION_NAME=1.0.0-SNAPSHOT

POM_DESCRIPTION=A library that enables reuse of Material Components for Android themes for theming in Jetpack Compose

Expand Down

0 comments on commit 53609e8

Please sign in to comment.