Skip to content

Commit

Permalink
Picker (#180)
Browse files Browse the repository at this point in the history
* Picker minor code tidy up

Add missing KDoc
Replace hardcoded strings with stringResources.

* Picker minor code tidy up

Add missing KDoc
Replace hardcoded strings with stringResources.

* Tie the kotlin gradle and kapt plugins to the current kotlin version.

* Tie the kotlin gradle and kapt plugins to the current kotlin version.

Co-authored-by: John Nichol <[email protected]>
  • Loading branch information
JohnNichol and John Nichol authored May 18, 2022
1 parent 761fbe5 commit d29eed9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
11 changes: 5 additions & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,11 @@ buildscript {

plugins {

id "com.diffplug.spotless" version "5.9.0"
id 'org.jetbrains.kotlin.android' version '1.6.20' apply false
id "com.github.ben-manes.versions" version "0.41.0"
id "nl.littlerobots.version-catalog-update" version "0.3.0" apply false
id 'org.jetbrains.kotlin.jvm' version '1.6.21' apply false
id "org.jetbrains.kotlin.kapt" version '1.6.20' apply false
alias(libs.plugins.spotless)
alias(libs.plugins.kotlinGradle) apply false
alias(libs.plugins.benManes)
alias(libs.plugins.versionCatalogUpdate) apply false
alias(libs.plugins.kapt) apply false
}

apply plugin: 'org.jetbrains.dokka'
Expand Down
10 changes: 10 additions & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ androidxLifecycle = "2.5.0-rc01"
androidxNavigation = "2.5.0-rc01"
androidxWear = "1.2.0"
androidxtiles = "1.1.0-alpha06"
benManes = "0.41.0"
compose = "1.2.0-beta01"
composesnapshot = "-"
dokka = "1.5.0"
Expand All @@ -22,7 +23,9 @@ ktlint = "0.42.1"
com-squareup-okhttp3 = "4.9.3"
metalava = "0.2.1"
room = "2.4.2"
spotless = "5.9.0"
truth = "1.1.3"
versionCatalogUpdate = "0.3.0"
wearcompose = "1.0.0-beta01"

[libraries]
Expand Down Expand Up @@ -80,3 +83,10 @@ truth = { module = "com.google.truth:truth", version.ref = "truth" }
wearcompose-foundation = { module = "androidx.wear.compose:compose-foundation", version.ref = "wearcompose" }
wearcompose-material = { module = "androidx.wear.compose:compose-material", version.ref = "wearcompose" }
wearcompose-navigation = { module = "androidx.wear.compose:compose-navigation", version.ref = "wearcompose" }

[plugins]
kapt = { id = "org.jetbrains.kotlin.kapt", version.ref = "kotlin" }
kotlinGradle = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
benManes = { id = "com.github.ben-manes.versions", version.ref = "benManes" }
versionCatalogUpdate = { id = "nl.littlerobots.version-catalog-update", version.ref = "versionCatalogUpdate" }

0 comments on commit d29eed9

Please sign in to comment.