Skip to content

Commit

Permalink
Update compose to 1.1.0-rc01
Browse files Browse the repository at this point in the history
  • Loading branch information
PranavMaganti committed Jan 21, 2022
1 parent 8eea311 commit 704724c
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 14 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,5 +1,10 @@
# Changelog

### 0.6.3 - 2021-01-21

- Update compose to 1.1.0-rc01
- Add ability to disable specific days in date picker (#126)[https://github.com/vanpra/compose-material-dialogs/pull/126]

### 0.6.2 - 2021-12-02

- Update compose to 1.1.0-beta04 ([#120](https://github.com/vanpra/compose-material-dialogs/issues/120))
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -74,7 +74,7 @@ To run the screenshot tests you can use:
./gradlew executeScreenshotTests -Pandroid.testInstrumentationRunnerArguments.filter=com.vanpra.composematerialdialogs.test.utils.ScreenshotTestFilter
```

You can then view the screenshot test report at in the directory `[module]/build/screenshots/`
You can then view the screenshot test report at in the directory `[module]/build/reports/shot/verification/index.htm`

If you have added a new screenshot test or changed the UI such that it affects an existing screenshot test you will have to recapture the screenshots using an emulator. Before doing this run the screenshot tests to verify that all the tests which are not affected by the change are still passing. After doing so you can run the following command which will capture on the emulator which should be setup as mentioned above:

Expand Down
8 changes: 4 additions & 4 deletions README.md
Expand Up @@ -4,7 +4,7 @@

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/ae8d455118164f43a24732761a970cc8)](https://www.codacy.com/gh/vanpra/compose-material-dialogs/dashboard?utm_source=github.com&utm_medium=referral&utm_content=vanpra/compose-material-dialogs&utm_campaign=Badge_Grade)![Build & Test](https://github.com/vanpra/compose-material-dialogs/actions/workflows/main.yml/badge.svg)

**Current Library Compose Version: 1.1.0-beta04**
**Current Library Compose Version: 1.1.0-rc01**

### [See Releases and Changelog](https://github.com/vanpra/compose-material-dialogs/blob/main/CHANGELOG.md)

Expand All @@ -19,7 +19,7 @@
```gradle
dependencies {
...
implementation "io.github.vanpra.compose-material-dialogs:core:0.6.2"
implementation "io.github.vanpra.compose-material-dialogs:core:0.6.3"
...
}
```
Expand All @@ -35,7 +35,7 @@ dependencies {
```gradle
dependencies {
...
implementation "io.github.vanpra.compose-material-dialogs:datetime:0.6.2"
implementation "io.github.vanpra.compose-material-dialogs:datetime:0.6.3"
...
}
```
Expand All @@ -51,7 +51,7 @@ dependencies {
```gradle
dependencies {
...
implementation "io.github.vanpra.compose-material-dialogs:color:0.6.2"
implementation "io.github.vanpra.compose-material-dialogs:color:0.6.3"
...
}
```
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Expand Up @@ -14,8 +14,8 @@ buildscript {

dependencies {
classpath(Dependencies.Kotlin.gradlePlugin)
classpath("com.android.tools.build:gradle:7.1.0-rc01")
classpath("com.vanniktech:gradle-maven-publish-plugin:0.17.0")
classpath("com.android.tools.build:gradle:7.2.0-alpha07")
classpath("com.vanniktech:gradle-maven-publish-plugin:0.18.0")
classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.6.0")
classpath(Dependencies.Shot.core)
}
Expand Down
10 changes: 5 additions & 5 deletions buildSrc/src/main/kotlin/Dependencies.kt
Expand Up @@ -14,7 +14,7 @@ object Dependencies {
}

object Accompanist {
private const val version = "0.21.4-beta"
private const val version = "0.22.0-rc"
const val pager = "com.google.accompanist:accompanist-pager:$version"
}

Expand All @@ -24,13 +24,13 @@ object Dependencies {
}

object Shot {
private const val version = "5.11.2"
private const val version = "5.12.2"
const val core = "com.karumi:shot:$version"
const val android = "com.karumi:shot-android:$version"
}

object Google {
const val material = "com.google.android.material:material:1.5.0-beta01"
const val material = "com.google.android.material:material:1.6.0-alpha02"
}

object AndroidX {
Expand All @@ -44,7 +44,7 @@ object Dependencies {
}

object Compose {
const val version = "1.1.0-beta04"
const val version = "1.1.0-rc01"

const val ui = "androidx.compose.ui:ui:$version"
const val material = "androidx.compose.material:material:$version"
Expand All @@ -55,7 +55,7 @@ object Dependencies {

const val testing = "androidx.compose.ui:ui-test-junit4:$version"
const val activity = "androidx.activity:activity-compose:1.4.0"
const val navigation = "androidx.navigation:navigation-compose:2.4.0-beta02"
const val navigation = "androidx.navigation:navigation-compose:2.4.0-rc01"
}
}
}
6 changes: 6 additions & 0 deletions datetime/build.gradle.kts
Expand Up @@ -47,6 +47,12 @@ android {
composeOptions {
kotlinCompilerExtensionVersion = Dependencies.AndroidX.Compose.version
}

kotlinOptions {
freeCompilerArgs = freeCompilerArgs + listOf(
"-Xopt-in=com.google.accompanist.pager.ExperimentalPagerApi"
)
}
}

dependencies {
Expand Down
Expand Up @@ -145,7 +145,7 @@ internal fun DatePickerImpl(title: String, state: DatePickerState, allowedDateVa
}
}

@OptIn(ExperimentalPagerApi::class, ExperimentalFoundationApi::class)
@OptIn(ExperimentalFoundationApi::class, ExperimentalPagerApi::class)
@Composable
private fun YearPicker(
viewDate: LocalDate,
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Expand Up @@ -10,7 +10,7 @@ android.enableJetifier=false
kotlin.code.style=official

GROUP=io.github.vanpra.compose-material-dialogs
VERSION_NAME=0.6.2
VERSION_NAME=0.6.3

POM_DESCRIPTION=A Material Dialog Builder for Jetpack Compose
POM_INCEPTION_YEAR=2020
Expand Down

0 comments on commit 704724c

Please sign in to comment.