Skip to content

Commit

Permalink
AND-145: migrate to kotlin compiler plugin & minor improves
Browse files Browse the repository at this point in the history
  • Loading branch information
EmogurovAnton committed Aug 6, 2024
1 parent ec62022 commit b35fb1b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ Gears could be used together or alone.

A couple of extensions to convert long operations into `Flow<Result<T>>`.

### :speech_balloon: **[TextValue](textvalue/)**

- [![Version](https://img.shields.io/maven-central/v/com.redmadrobot.gears/kotlin?style=flat-square&label=textvalue-common)][textvalue-common] - An implementation of the TextValue - an abstraction over Android text
- [![Version](https://img.shields.io/maven-central/v/com.redmadrobot.gears/kotlin?style=flat-square&label=textvalue-compose)][textvalue-compose] - A set of handy tools for dealing with TextValue inside `@Composable` functions

## Why Gears?

The goal of this mono-repository is to simplify the creation and publication of libraries.
Expand Down Expand Up @@ -75,5 +80,8 @@ For major changes, open a [discussion][discussions] first to discuss what you wo
[viewmodelevents-flow]: viewmodelevents/viewmodelevents-flow/
[viewmodelevents-livedata]: viewmodelevents/viewmodelevents-livedata/

[textvalue-common]: textvalue/textvalue-common/
[textvalue-compose]: textvalue/textvalue-compose/

[ci]: https://github.com/RedMadRobot/gears-android/actions?query=branch%3Amain++
[discussions]: https://github.com/RedMadRobot/gears-android/discussions
1 change: 1 addition & 0 deletions textvalue/textvalue-compose/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
plugins {
convention.library.android
alias(stack.plugins.kotlin.compose)
}

description = "Compose extensions for TextValue"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
package com.redmadrobot.textvalue.compose
package com.redmadrobot.textvalue

import android.content.res.Resources
import androidx.compose.runtime.Composable
import androidx.compose.runtime.ReadOnlyComposable
import androidx.compose.ui.platform.LocalConfiguration
import androidx.compose.ui.platform.LocalContext
import com.redmadrobot.textvalue.TextValue
import com.redmadrobot.textvalue.getString

/**
* Unwraps and returns a string for the given [text].
Expand Down

0 comments on commit b35fb1b

Please sign in to comment.