Skip to content

Commit

Permalink
Merge pull request #121 from skolson/main
Browse files Browse the repository at this point in the history
Upgrade: Compose 1.1.0-beta04, Kotlin 1.6.0
  • Loading branch information
PranavMaganti authored Dec 21, 2021
2 parents 0e83e90 + 1e886ad commit 778b937
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 30 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

### 0.6.2 - 2021-12-02

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

### 0.6.1 - 2021-10-07

- Update compose to 1.1.0-alpha05 ([#112](https://github.com/vanpra/compose-material-dialogs/issues/112) and [#110](https://github.com/vanpra/compose-material-dialogs/issues/110))
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
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-alpha05**
**Current Library Compose Version: 1.1.0-beta04**

### [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.1"
implementation "io.github.vanpra.compose-material-dialogs:core:0.6.2"
...
}
```
Expand All @@ -35,7 +35,7 @@ dependencies {
```gradle
dependencies {
...
implementation "io.github.vanpra.compose-material-dialogs:datetime:0.6.1"
implementation "io.github.vanpra.compose-material-dialogs:datetime:0.6.2"
...
}
```
Expand All @@ -51,7 +51,7 @@ dependencies {
```gradle
dependencies {
...
implementation "io.github.vanpra.compose-material-dialogs:color:0.6.1"
implementation "io.github.vanpra.compose-material-dialogs:color:0.6.2"
...
}
```
Expand Down
2 changes: 0 additions & 2 deletions app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ dependencies {
// implementation(Dependencies.ComposeMaterialDialogs.datetime)
// implementation(Dependencies.ComposeMaterialDialogs.color)

implementation(Dependencies.Kotlin.stdlib)
implementation(Dependencies.Google.material)
implementation(Dependencies.AndroidX.coreKtx)

Expand All @@ -64,6 +63,5 @@ dependencies {
implementation(Dependencies.AndroidX.Compose.activity)
implementation(Dependencies.AndroidX.Compose.navigation)

implementation(kotlin("stdlib-jdk8"))
coreLibraryDesugaring(Dependencies.desugar)
}
16 changes: 6 additions & 10 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,23 +1,22 @@
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile

plugins {
id("com.diffplug.spotless") version "5.14.3"
id("org.jetbrains.dokka") version "1.5.0"
id("com.diffplug.spotless") version "6.0.4"
id("org.jetbrains.dokka") version "1.6.0"
}

buildscript {
repositories {
google()
mavenCentral()
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
maven { url = uri("https://plugins.gradle.org/m2/") }
maven("https://plugins.gradle.org/m2/")
}

dependencies {
classpath(Dependencies.Kotlin.gradlePlugin)
classpath("com.android.tools.build:gradle:7.1.0-alpha13")
classpath("com.android.tools.build:gradle:7.1.0-beta04")
classpath("com.vanniktech:gradle-maven-publish-plugin:0.17.0")
classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.5.0")
classpath("org.jetbrains.dokka:dokka-gradle-plugin:1.6.0")
classpath(Dependencies.Shot.core)
}
}
Expand All @@ -27,9 +26,6 @@ allprojects {
google()
mavenCentral()
gradlePluginPortal()
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
maven { url = uri("https://kotlin.bintray.com/kotlinx/") }
maven { url = uri("https://s01.oss.sonatype.org/content/repositories/snapshots") }
}

tasks.withType<KotlinCompile>().all {
Expand Down Expand Up @@ -65,4 +61,4 @@ subprojects {
showStandardStreams = true
}
}
}
}
2 changes: 1 addition & 1 deletion buildSrc/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
repositories {
google()
mavenCentral()
maven { url = uri("https://dl.bintray.com/kotlin/kotlin-eap") }
maven("https://dl.bintray.com/kotlin/kotlin-eap")
}

plugins {
Expand Down
1 change: 0 additions & 1 deletion buildSrc/src/main/kotlin/CommonModulePlugin.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class CommonModulePlugin: Plugin<Project> {

private fun Project.dependenciesConf() {
dependencies.apply {
implementation(Dependencies.Kotlin.stdlib)
implementation(Dependencies.AndroidX.coreKtx)

implementation(Dependencies.AndroidX.Compose.ui)
Expand Down
17 changes: 8 additions & 9 deletions buildSrc/src/main/kotlin/Dependencies.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ object Dependencies {
const val desugar = "com.android.tools:desugar_jdk_libs:1.1.5"

object ComposeMaterialDialogs {
const val version = "0.6.0"
const val version = "0.6.2"

const val core = "io.github.vanpra.compose-material-dialogs:core:$version"
const val datetime = "io.github.vanpra.compose-material-dialogs:datetime:$version"
Expand All @@ -14,13 +14,12 @@ object Dependencies {
}

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

object Kotlin {
private const val version = "1.5.31"
const val stdlib = "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$version"
private const val version = "1.6.0"
const val gradlePlugin = "org.jetbrains.kotlin:kotlin-gradle-plugin:$version"
}

Expand All @@ -31,11 +30,11 @@ object Dependencies {
}

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

object AndroidX {
const val coreKtx = "androidx.core:core-ktx:1.7.0-beta02"
const val coreKtx = "androidx.core:core-ktx:1.7.0"

object Testing {
const val version = "1.4.1-alpha03"
Expand All @@ -45,7 +44,7 @@ object Dependencies {
}

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

const val ui = "androidx.compose.ui:ui:$version"
const val material = "androidx.compose.material:material:$version"
Expand All @@ -55,8 +54,8 @@ object Dependencies {
const val foundationLayout = "androidx.compose.foundation:foundation-layout:$version"

const val testing = "androidx.compose.ui:ui-test-junit4:$version"
const val activity = "androidx.activity:activity-compose:1.4.0-beta01"
const val navigation = "androidx.navigation:navigation-compose:2.4.0-alpha10"
const val activity = "androidx.activity:activity-compose:1.4.0"
const val navigation = "androidx.navigation:navigation-compose:2.4.0-beta02"
}
}
}
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ android.enableJetifier=false
kotlin.code.style=official

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

POM_DESCRIPTION=A Material Dialog Builder for Jetpack Compose
POM_INCEPTION_YEAR=2020
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#Fri Feb 05 10:11:42 GMT 2021
distributionBase=GRADLE_USER_HOME
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-7.3-bin.zip
distributionPath=wrapper/dists
zipStorePath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
1 change: 0 additions & 1 deletion test-utils/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ android {

dependencies {
api(project(":core"))
implementation(Dependencies.Kotlin.stdlib)

implementation(Dependencies.AndroidX.Compose.ui)
implementation(Dependencies.AndroidX.Compose.material)
Expand Down

0 comments on commit 778b937

Please sign in to comment.