fuzzywuzzy-kotlin
fuzzywuzzy-kotlin copied to clipboard
Kotlin Import does not work
Adding the import code to my build.gradle file did not allow me to use Fuzzywuzzy functionality.
sourceSets {
commonMain {
dependencies {
implementation "com.willowtreeapps:fuzzywuzzy-kotlin:0.1.1"
}
}
}
Only after adding the import from the Java port was the library recognized.
repositories {
jcenter()
}
dependencies {
implementation 'me.xdrop:fuzzywuzzy:1.3.1'
}
Same it is not working for me either. How did you make it work?
It's impossible to use this library.
It's impossible to use this library.
It looks that something is wrong with the published artifact on maven, but you can build the library on your own with ./gradlew jvmJar
. This generates fuzzywuzzy-kotlin-jvm-0.1.1.jar
inside fuzzywuzzy-kotlin/app/build/libs/
.
Then you place the jar in a folder of your project (e.g. libs
) and add the local dependency en gradle:
implementation files('libs/fuzzywuzzy-kotlin-jvm-0.1.1.jar')
I was previously using https://github.com/xdrop/fuzzywuzzy but its license is too restrictive. Thanks for the fork!
Happy to see people using/wanting to use this lib. I'm no longer working for willowtree, which has the access to publish new artifacts. If you bug them enough I'm sure and intern or some awesome android eng can update the lib and publish. Alternatively copy in the code, or fork it, update and make a PR to get some attention @sheaam30 @konwinkler @imbeyondboredom
@fgsalomon @patjackson52 I ported the swift version to kotlin. I might release a new version under my public organization.