Skip to content

Commit

Permalink
Update readme and release config for common module
Browse files Browse the repository at this point in the history
  • Loading branch information
oleksandrbalan committed Jul 20, 2024
1 parent 9ca34d2 commit 89508d2
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 1 deletion.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![Maven Central](https://img.shields.io/maven-central/v/io.github.oleksandrbalan/textflow.svg?label=Maven%20Central)](https://search.maven.org/artifact/io.github.oleksandrbalan/textflow)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.oleksandrbalan/textflow.svg?label=Material%202)](https://search.maven.org/artifact/io.github.oleksandrbalan/textflow)
[![Maven Central](https://img.shields.io/maven-central/v/io.github.oleksandrbalan/textflow-material3.svg?label=Material%203)](https://central.sonatype.com/artifact/io.github.oleksandrbalan/textflow-material3)

<img align="right" src="https://user-images.githubusercontent.com/20944869/192884656-f962028f-cbd5-4b24-91ee-2ad50bda1e5c.png">

Expand All @@ -8,6 +9,8 @@ Text Flow library for Jetpack Compose.

Allows to display a text which wraps around an image (or any other Composable).

From version 1.2.0 now supports both Material 2 and Material 3 themes.

## Examples

See Demo application and [examples](demo/src/main/kotlin/eu/wewox/textflow/screens).
Expand Down Expand Up @@ -57,7 +60,11 @@ dependencyResolutionManagement {
Check latest version on the [releases page](https://github.com/oleksandrbalan/textflow/releases).
```
dependencies {
// For Material 2 theme
implementation "io.github.oleksandrbalan:textflow:$version"
// For Material 3 theme
implementation "io.github.oleksandrbalan:textflow-material3:$version"
}
```

Expand Down
1 change: 1 addition & 0 deletions textflow-common/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.kotlin)
alias(libs.plugins.mavenpublish)
id("convention.jvm.toolchain")
}

Expand Down
3 changes: 3 additions & 0 deletions textflow-common/gradle.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
POM_ARTIFACT_ID=textflow-common
POM_NAME=Text Flow Common
POM_DESCRIPTION=This library contains the common theme-agnostic logic for Text Flow.

0 comments on commit 89508d2

Please sign in to comment.