Skip to content

Commit

Permalink
Updated compose to 1.1.0 and updated other libs
Browse files Browse the repository at this point in the history
  • Loading branch information
LachlanMcKee committed Feb 19, 2022
1 parent f8a232c commit 5fe41bf
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 13 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Change Log
===========

Version 1.1.0 *(2022-02-19)*
----------------------------

* Updated to Compose 1.1.0
* Updated to Dagger2 to 2.41

Version 1.1.0-rc01 *(2022-01-23)*
----------------------------

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ To see this in practice, please take a look at the [sample](sample) directory.
This library is available on Maven, you can add it to your project using the following gradle dependencies:

```gradle
implementation 'net.lachlanmckee:hilt-compose-navigation-factory:1.1.0-rc01'
annotationProcessor 'net.lachlanmckee:hilt-compose-navigation-factory-compiler:1.1.0-rc01'
implementation 'net.lachlanmckee:hilt-compose-navigation-factory:1.1.0'
annotationProcessor 'net.lachlanmckee:hilt-compose-navigation-factory-compiler:1.1.0'
```
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ kotlin.code.style=official

# Maven
GROUP=net.lachlanmckee
VERSION_NAME=1.1.0-rc01
VERSION_NAME=1.1.0

POM_DESCRIPTION=Provides a mechanism to scale Jetpack Compose navigation across numerous modules.
POM_INCEPTION_YEAR=2021
Expand Down
18 changes: 9 additions & 9 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[versions]
compose = "1.1.0-rc01"
composeCompiler = "1.1.0-rc02"
dagger = "2.40.5"
compose = "1.1.0"
composeCompiler = "1.1.0"
dagger = "2.41"
kotlin = "1.6.10"
autoService = "1.0.1"
incap = "0.3"
Expand All @@ -11,8 +11,8 @@ androidXTest = "1.4.0"
compileSdk = "31"
minSdk = "21"
targetSdk = "30"
spotless = "6.2.0"
dependencyUpdates = "0.41.0"
spotless = "6.3.0"
dependencyUpdates = "0.42.0"

[plugins]
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
Expand All @@ -21,19 +21,19 @@ dependencyUpdates = { id = "com.github.ben-manes.versions", version.ref = "depen
[libraries]
androidx-activityCompose = "androidx.activity:activity-compose:1.4.0"
androidx-appcompat = "androidx.appcompat:appcompat:1.4.1"
androidx-lifecycle-livedata = "androidx.lifecycle:lifecycle-livedata-ktx:2.4.0"
androidx-lifecycle-livedata = "androidx.lifecycle:lifecycle-livedata-ktx:2.4.1"

compose-ui = { module = "androidx.compose.ui:ui", version.ref = "compose" }
compose-foundation = { module = "androidx.compose.foundation:foundation", version.ref = "compose" }
compose-material = { module = "androidx.compose.material:material", version.ref = "compose" }
compose-runtime-livedata = { module = "androidx.compose.runtime:runtime-livedata", version.ref = "compose" }
compose-navigation = "androidx.navigation:navigation-compose:2.4.0-rc01"
compose-navigation = "androidx.navigation:navigation-compose:2.4.1"

dagger-runtime = { module = "com.google.dagger:dagger", version.ref = "dagger" }
dagger-compiler = { module = "com.google.dagger:dagger-compiler", version.ref = "dagger" }
dagger-hilt-runtime = { module = "com.google.dagger:hilt-android", version.ref = "dagger" }
dagger-hilt-compiler = { module = "com.google.dagger:hilt-compiler", version.ref = "dagger" }
dagger-hilt-navigationCompose = "androidx.hilt:hilt-navigation-compose:1.0.0-rc01"
dagger-hilt-navigationCompose = "androidx.hilt:hilt-navigation-compose:1.0.0"

incap-compiler = { module = "net.ltgt.gradle.incap:incap-processor", version.ref = "incap" }
incap-core = { module = "net.ltgt.gradle.incap:incap", version.ref = "incap" }
Expand All @@ -50,7 +50,7 @@ espresso-orchestrator = "androidx.test:orchestrator:1.4.1"
compose-testing = { module = "androidx.compose.ui:ui-test-junit4", version.ref = "compose" }

# Gradle plugins
plugin-androidTools = "com.android.tools.build:gradle:7.0.4"
plugin-androidTools = "com.android.tools.build:gradle:7.1.1"
plugin-hiltAndroidGradle = { module = "com.google.dagger:hilt-android-gradle-plugin", version.ref = "dagger" }
plugin-kotlinGradle = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
plugin-mavenPublish = "com.vanniktech:gradle-maven-publish-plugin:0.18.0"
Expand Down
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-7.3.3-all.zip
distributionUrl=https://services.gradle.org/distributions/gradle-7.4-all.zip

0 comments on commit 5fe41bf

Please sign in to comment.