blocoio / faker

A Kotlin and Android-ready port of the Faker ruby gem
MIT License
189 stars 26 forks source link

Broken dependency for faker #31

Closed jdblack closed 10 months ago

jdblack commented 10 months ago

I came across the following while trying to use this faker 2.0.3 in a newish (API 34) kotlin android app that I'm writing

11: Task failed with an exception.

jdblack commented 10 months ago

To fix this, one needs to add jitpack to settings.gradle.kts

pluginManagement {
    repositories {
        google()
        mavenCentral()
        gradlePluginPortal()
    }
}
dependencyResolutionManagement {
    repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
    repositories {
        google()
        mavenCentral()
        maven("https://jitpack.io")  <-------------------
    }
}
sdsantos commented 10 months ago

Fixed in version 2.0.4