fix readme

This commit is contained in:
Sergey Chernov 2024-03-20 00:25:13 +01:00
parent 446a7adf6f
commit 11238a9c7d

View File

@ -18,7 +18,7 @@ and in the source set dependencies something like
~~~kotlin
dependencies {
// ...
implementation("net.sergeych:mp_diff:0.0.1-SNAPSHOT")
implementation("net.sergeych:mp_diff:0.0.10")
}
~~~
@ -34,6 +34,10 @@ assertEquals("Bye friend", m.merged.joinToString(""))
println(m.blocks)
~~~
# Licensing proglem
I found that part of the code was initially under Apache 2.0. I'm sorry I have to change from mit to Apache therefore, will do it soon. My apologies.
## Acknowledgments
This work is based on the original kotlin diff port https://github.com/GitLiveApp/kotlin-diff-utils work, unfortunatley its packaging is not compatible with current kotlin MP formats so I can't just use it as the dependencies. The wholde `dev.gitlive.difflib` is taken from the link above, where it was published under the [Apache 2.0 license at the moment of borrowing this code](https://github.com/GitLiveApp/kotlin-diff-utils/blob/master/LICENSE).