Skip to content

Commit 704724c

Browse files
committed
Update compose to 1.1.0-rc01
1 parent 8eea311 commit 704724c

File tree

8 files changed

+25
-14
lines changed

8 files changed

+25
-14
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
### 0.6.3 - 2021-01-21
4+
5+
- Update compose to 1.1.0-rc01
6+
- Add ability to disable specific days in date picker (#126)[https://github.com/vanpra/compose-material-dialogs/pull/126]
7+
38
### 0.6.2 - 2021-12-02
49

510
- Update compose to 1.1.0-beta04 ([#120](https://github.com/vanpra/compose-material-dialogs/issues/120))

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ To run the screenshot tests you can use:
7474
./gradlew executeScreenshotTests -Pandroid.testInstrumentationRunnerArguments.filter=com.vanpra.composematerialdialogs.test.utils.ScreenshotTestFilter
7575
```
7676

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

7979
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:
8080

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
[![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)
66

7-
**Current Library Compose Version: 1.1.0-beta04**
7+
**Current Library Compose Version: 1.1.0-rc01**
88

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

@@ -19,7 +19,7 @@
1919
```gradle
2020
dependencies {
2121
...
22-
implementation "io.github.vanpra.compose-material-dialogs:core:0.6.2"
22+
implementation "io.github.vanpra.compose-material-dialogs:core:0.6.3"
2323
...
2424
}
2525
```
@@ -35,7 +35,7 @@ dependencies {
3535
```gradle
3636
dependencies {
3737
...
38-
implementation "io.github.vanpra.compose-material-dialogs:datetime:0.6.2"
38+
implementation "io.github.vanpra.compose-material-dialogs:datetime:0.6.3"
3939
...
4040
}
4141
```
@@ -51,7 +51,7 @@ dependencies {
5151
```gradle
5252
dependencies {
5353
...
54-
implementation "io.github.vanpra.compose-material-dialogs:color:0.6.2"
54+
implementation "io.github.vanpra.compose-material-dialogs:color:0.6.3"
5555
...
5656
}
5757
```

build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ buildscript {
1414

1515
dependencies {
1616
classpath(Dependencies.Kotlin.gradlePlugin)
17-
classpath("com.android.tools.build:gradle:7.1.0-rc01")
18-
classpath("com.vanniktech:gradle-maven-publish-plugin:0.17.0")
17+
classpath("com.android.tools.build:gradle:7.2.0-alpha07")
18+
classpath("com.vanniktech:gradle-maven-publish-plugin:0.18.0")
1919
classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.6.0")
2020
classpath(Dependencies.Shot.core)
2121
}

buildSrc/src/main/kotlin/Dependencies.kt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ object Dependencies {
1414
}
1515

1616
object Accompanist {
17-
private const val version = "0.21.4-beta"
17+
private const val version = "0.22.0-rc"
1818
const val pager = "com.google.accompanist:accompanist-pager:$version"
1919
}
2020

@@ -24,13 +24,13 @@ object Dependencies {
2424
}
2525

2626
object Shot {
27-
private const val version = "5.11.2"
27+
private const val version = "5.12.2"
2828
const val core = "com.karumi:shot:$version"
2929
const val android = "com.karumi:shot-android:$version"
3030
}
3131

3232
object Google {
33-
const val material = "com.google.android.material:material:1.5.0-beta01"
33+
const val material = "com.google.android.material:material:1.6.0-alpha02"
3434
}
3535

3636
object AndroidX {
@@ -44,7 +44,7 @@ object Dependencies {
4444
}
4545

4646
object Compose {
47-
const val version = "1.1.0-beta04"
47+
const val version = "1.1.0-rc01"
4848

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

5656
const val testing = "androidx.compose.ui:ui-test-junit4:$version"
5757
const val activity = "androidx.activity:activity-compose:1.4.0"
58-
const val navigation = "androidx.navigation:navigation-compose:2.4.0-beta02"
58+
const val navigation = "androidx.navigation:navigation-compose:2.4.0-rc01"
5959
}
6060
}
6161
}

datetime/build.gradle.kts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,12 @@ android {
4747
composeOptions {
4848
kotlinCompilerExtensionVersion = Dependencies.AndroidX.Compose.version
4949
}
50+
51+
kotlinOptions {
52+
freeCompilerArgs = freeCompilerArgs + listOf(
53+
"-Xopt-in=com.google.accompanist.pager.ExperimentalPagerApi"
54+
)
55+
}
5056
}
5157

5258
dependencies {

datetime/src/main/java/com/vanpra/composematerialdialogs/datetime/date/DatePicker.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ internal fun DatePickerImpl(title: String, state: DatePickerState, allowedDateVa
145145
}
146146
}
147147

148-
@OptIn(ExperimentalPagerApi::class, ExperimentalFoundationApi::class)
148+
@OptIn(ExperimentalFoundationApi::class, ExperimentalPagerApi::class)
149149
@Composable
150150
private fun YearPicker(
151151
viewDate: LocalDate,

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ android.enableJetifier=false
1010
kotlin.code.style=official
1111

1212
GROUP=io.github.vanpra.compose-material-dialogs
13-
VERSION_NAME=0.6.2
13+
VERSION_NAME=0.6.3
1414

1515
POM_DESCRIPTION=A Material Dialog Builder for Jetpack Compose
1616
POM_INCEPTION_YEAR=2020

0 commit comments

Comments
 (0)