Skip to content

Commit 94f2304

Browse files
authored
Merge pull request #332 from MohamedRejeb/main
Merge main into 1.x
2 parents e69b1cb + c8c3f99 commit 94f2304

File tree

28 files changed

+1136
-639
lines changed

28 files changed

+1136
-639
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright [yyyy] [name of copyright owner]
189+
Copyright 2024 Mohamed Rejeb
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

README.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,19 @@ A rich text editor library for both Jetpack Compose and Compose Multiplatform, f
2020

2121
Compose Rich Editor is available on `mavenCentral()`.
2222

23-
### K1
24-
2523
```kotlin
26-
implementation("com.mohamedrejeb.richeditor:richeditor-compose:1.0.0-rc05")
24+
implementation("com.mohamedrejeb.richeditor:richeditor-compose:1.0.0-rc06")
2725
```
2826

29-
### K2
27+
## Compatibility
3028

31-
```kotlin
32-
implementation("com.mohamedrejeb.richeditor:richeditor-compose:1.0.0-rc05-k2")
33-
```
29+
[![Maven Central](https://img.shields.io/maven-central/v/com.mohamedrejeb.richeditor/richeditor-compose)](https://search.maven.org/search?q=g:%22com.mohamedrejeb.richeditor%22%20AND%20a:%22richeditor-compose%22)
30+
31+
| Kotlin version | Compose version | Compose Rich Editor version |
32+
|----------------|-----------------|-----------------------------|
33+
| 2.0.10 | 1.6.11 | 1.0.0-rc06 |
34+
| 2.0.0 | 1.6.10 | 1.0.0-rc05-k2 |
35+
| 1.9.24 | 1.6.10 | 1.0.0-rc05 |
3436

3537
## Quick Start
3638

build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@ plugins {
55
alias(libs.plugins.kotlinAndroid).apply(false)
66
alias(libs.plugins.kotlinMultiplatform).apply(false)
77
alias(libs.plugins.composeMultiplatform).apply(false)
8+
alias(libs.plugins.compose.compiler).apply(false)
89
alias(libs.plugins.bcv).apply(false)
910
}

convention-plugins/src/main/kotlin/root.publication.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ plugins {
44

55
allprojects {
66
group = "com.mohamedrejeb.richeditor"
7-
version = System.getenv("VERSION") ?: "1.0.0-rc05"
7+
version = System.getenv("VERSION") ?: "1.0.0-rc06"
88
}
99

1010
nexusPublishing {

docs/index.md

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,19 @@ A rich text editor library for both Jetpack Compose and Compose Multiplatform, f
1818

1919
Compose Rich Editor is available on `mavenCentral()`.
2020

21-
### K1
22-
2321
```kotlin
24-
implementation("com.mohamedrejeb.richeditor:richeditor-compose:1.0.0-rc05")
22+
implementation("com.mohamedrejeb.richeditor:richeditor-compose:1.0.0-rc06")
2523
```
2624

27-
### K2
25+
## Compatibility
2826

29-
```kotlin
30-
implementation("com.mohamedrejeb.richeditor:richeditor-compose:1.0.0-rc05-k2")
31-
```
27+
[![Maven Central](https://img.shields.io/maven-central/v/com.mohamedrejeb.richeditor/richeditor-compose)](https://search.maven.org/search?q=g:%22com.mohamedrejeb.richeditor%22%20AND%20a:%22richeditor-compose%22)
28+
29+
| Kotlin version | Compose version | Compose Rich Editor version |
30+
|----------------|-----------------|-----------------------------|
31+
| 2.0.10 | 1.6.11 | 1.0.0-rc06 |
32+
| 2.0.0 | 1.6.10 | 1.0.0-rc05-k2 |
33+
| 1.9.24 | 1.6.10 | 1.0.0-rc05 |
3234

3335
## Quick Start
3436

gradle/libs.versions.toml

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
[versions]
22
agp = "8.2.2"
3-
kotlin = "1.9.24"
4-
compose = "1.6.10"
3+
kotlin = "2.0.10"
4+
compose = "1.6.11"
55
dokka = "1.9.10"
66

7-
ksoup = "0.3.2"
8-
jetbrainsMarkdown = "0.7.0"
9-
coil = "3.0.0-alpha06"
7+
ksoup = "0.4.0"
8+
jetbrainsMarkdown = "0.7.3"
9+
coil = "3.0.0-alpha10"
1010

1111
nexus-publish = "2.0.0"
1212

1313
# For sample
14-
compose-compiler = "1.5.14"
15-
activity-compose = "1.9.0"
16-
voyager = "1.1.0-alpha04"
17-
richeditor = "1.0.0-rc04"
14+
androidx-appcompat = "1.7.0"
15+
activity-compose = "1.9.1"
16+
voyager = "1.1.0-beta02"
17+
richeditor = "1.0.0-rc05"
1818
coroutines = "1.8.1"
19-
ktor = "3.0.0-wasm2"
19+
ktor = "3.0.0-beta-2"
2020
android-minSdk = "21"
2121
android-compileSdk = "34"
2222

@@ -30,6 +30,7 @@ coil-compose = { module = "io.coil-kt.coil3:coil-compose", version.ref = "coil"
3030
nexus-publish = { module = "io.github.gradle-nexus.publish-plugin:io.github.gradle-nexus.publish-plugin.gradle.plugin", version.ref = "nexus-publish" }
3131

3232
# For sample
33+
androidx-appcompat = { module = "androidx.appcompat:appcompat", version.ref = "androidx-appcompat" }
3334
activity-compose = { module = "androidx.activity:activity-compose", version.ref = "activity-compose" }
3435
voyager-navigator = { module = "cafe.adriel.voyager:voyager-navigator", version.ref = "voyager" }
3536
richeditor-compose = { module = "com.mohamedrejeb.richeditor:richeditor-compose", version.ref = "richeditor" }
@@ -38,18 +39,20 @@ kotlinx-coroutines-android = { module = "org.jetbrains.kotlinx:kotlinx-coroutine
3839
kotlinx-coroutines-swing = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-swing", version.ref = "coroutines" }
3940

4041
coil-svg = { module = "io.coil-kt.coil3:coil-svg", version.ref = "coil" }
41-
coil-network-ktor = { module = "io.coil-kt.coil3:coil-network-ktor", version.ref = "coil" }
42+
coil-network-ktor = { module = "io.coil-kt.coil3:coil-network-ktor3", version.ref = "coil" }
4243

4344
ktor-client-core = { module = "io.ktor:ktor-client-core", version.ref = "ktor" }
4445
ktor-client-okhttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktor" }
4546
ktor-client-darwin = { module = "io.ktor:ktor-client-darwin", version.ref = "ktor" }
4647
ktor-client-js = { module = "io.ktor:ktor-client-js", version.ref = "ktor" }
48+
ktor-client-wasm = { module = "io.ktor:ktor-client-js-wasm-js", version.ref = "ktor" }
4749

4850
[plugins]
4951
androidLibrary = { id = "com.android.library", version.ref = "agp" }
5052
androidApplication = { id = "com.android.application", version.ref = "agp" }
5153
kotlinAndroid = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
5254
kotlinMultiplatform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
5355
composeMultiplatform = { id = "org.jetbrains.compose", version.ref = "compose" }
56+
compose-compiler = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" }
5457
dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }
5558
bcv = "org.jetbrains.kotlinx.binary-compatibility-validator:0.16.2"

0 commit comments

Comments
 (0)