Skip to content

Commit

Permalink
update versions
Browse files Browse the repository at this point in the history
  • Loading branch information
avan1235 committed May 1, 2024
1 parent a7cac2e commit f850abc
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 8 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ are self-contained and allow to deploy compose applications to Android, iOS and
Select the extension that you find useful in your project and put

```kotlin
implementation("in.procyk.compose:extension-name:1.6.2.0")
implementation("in.procyk.compose:extension-name:1.6.10-beta03.0")
```

into your `commonMain` source set's dependencies block, where `extension-name` should be replaced with the
Expand All @@ -33,12 +33,12 @@ See some example in [examples](./examples) project, where every extension is add

- `calendar` - calendar compose implementation migrated to Kotlin Multiplatform from [ComposeCalendar](https://github.com/boguszpawlowski/ComposeCalendar). See sample usage [here](./examples/src/commonMain/kotlin/in/procyk/compose/examples/Calendars.kt).
```kotlin
implementation("in.procyk.compose:calendar:1.6.2.0")
implementation("in.procyk.compose:calendar:1.6.10-beta03.0")
```

- `camera-qr` - detecting QR codes camera view. See sample usage [here](./examples/src/commonMain/kotlin/in/procyk/compose/examples/CameraQR.kt).
```kotlin
implementation("in.procyk.compose:camera-qr:1.6.2.0")
implementation("in.procyk.compose:camera-qr:1.6.10-beta03.0")
```
- for Android Application add to [AndroidManifest.xml](./examples/src/androidMain/AndroidManifest.xml)
```xml
Expand Down Expand Up @@ -69,10 +69,10 @@ See some example in [examples](./examples) project, where every extension is add

- `camera-permission` - ask for camera permission. See sample usage [here](./examples/src/commonMain/kotlin/in/procyk/compose/examples/CameraPermission.kt).
```kotlin
implementation("in.procyk.compose:camera-permission:1.6.2.0")
implementation("in.procyk.compose:camera-permission:1.6.10-beta03.0")
```

- `util` - handy functions to work with compose. Explore the [directory](./util/src/commonMain/kotlin/in/procyk/compose/util) to see what cool features are available.
```kotlin
implementation("in.procyk.compose:util:1.6.2.0")
implementation("in.procyk.compose:util:1.6.10-beta03.0")
```
1 change: 1 addition & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {
alias(libs.plugins.kotlin.multiplatform) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.compose.multiplatform) apply false
alias(libs.plugins.compose.compiler) apply false
id("convention.publication") apply false

alias(libs.plugins.gradle.versions) apply true
Expand Down
1 change: 1 addition & 0 deletions calendar/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {
alias(libs.plugins.kotlin.multiplatform) apply true
alias(libs.plugins.android.library) apply true
alias(libs.plugins.compose.multiplatform) apply true
alias(libs.plugins.compose.compiler) apply true

id("convention.publication") apply true
}
Expand Down
1 change: 1 addition & 0 deletions camera-permission/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {
alias(libs.plugins.kotlin.multiplatform) apply true
alias(libs.plugins.android.library) apply true
alias(libs.plugins.compose.multiplatform) apply true
alias(libs.plugins.compose.compiler) apply true

id("convention.publication") apply true
}
Expand Down
1 change: 1 addition & 0 deletions camera-qr/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {
alias(libs.plugins.kotlin.multiplatform) apply true
alias(libs.plugins.android.library) apply true
alias(libs.plugins.compose.multiplatform) apply true
alias(libs.plugins.compose.compiler) apply true

id("convention.publication") apply true
}
Expand Down
7 changes: 4 additions & 3 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ android-minSdk = "26"
android-targetSdk = "33"
barcodeScanning = "17.2.0"
cameraX = "1.3.0"
compose = "1.6.2"
compose = "1.6.10-beta03"
# @keep
compose-extensions = "1.6.2.1"
compose-extensions = "1.6.10-beta03.0"
gradle-versions = "0.51.0"
# @pin
kotlin = "2.0.0-RC1"
kotlin = "2.0.0-RC2"
kotlinxDatetime = "0.6.0-RC.2"
version-catalog-update = "0.8.4"
webcamCapture = "0.3.12"
Expand All @@ -37,6 +37,7 @@ zxing-javase = { module = "com.google.zxing:javase", version.ref = "zxing-core"
[plugins]
android-library = { id = "com.android.library", version.ref = "android-gradle-plugin" }
compose-multiplatform = { id = "org.jetbrains.compose", version.ref = "compose" }
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
gradle-versions = { id = "com.github.ben-manes.versions", version.ref = "gradle-versions" }
kotlin-multiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
version-catalog-update = { id = "nl.littlerobots.version-catalog-update", version.ref = "version-catalog-update" }
1 change: 1 addition & 0 deletions util/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ plugins {
alias(libs.plugins.kotlin.multiplatform) apply true
alias(libs.plugins.android.library) apply true
alias(libs.plugins.compose.multiplatform) apply true
alias(libs.plugins.compose.compiler) apply true

id("convention.publication") apply true
}
Expand Down

0 comments on commit f850abc

Please sign in to comment.