Giter Club home page Giter Club logo

Comments (17)

sezginriggs avatar sezginriggs commented on June 2, 2024 14

any recent updates? we had this problem: react-native-text-input-mask/react-native-text-input-mask#252

from input-mask-android.

taflanidi avatar taflanidi commented on June 2, 2024 11

Hey.

The migration is in progress. I haven't had much time, unfortunately, but still I'd like to finish up this weekend.

from input-mask-android.

netmaxt3r avatar netmaxt3r commented on June 2, 2024 7

use below snippet in your toplevel build.gradle to substitute dependency to jitpack repo. In my case on react-native project I didnt want to patch the npm package

allprojects {
    repositories {
        maven {
            url 'https://jitpack.io'
        }
    }
    configurations.all {
        resolutionStrategy {
            dependencySubstitution {
                substitute module("com.redmadrobot:input-mask-android:6.0.0") using module('com.github.RedMadRobot:input-mask-android:6.0.0')
            }
        }
    }
}

from input-mask-android.

davidmigloz avatar davidmigloz commented on June 2, 2024 4

@ozbek You can already use it in JitPack, it doesn't require any migration:
https://jitpack.io/#RedMadRobot/input-mask-android

from input-mask-android.

carstenhag avatar carstenhag commented on June 2, 2024 2

Hello there, is there an update on this? Android Studio Arctiv Fox & AGP 7.0 just got released, so there's even more urgency to remove jCenter :)

from input-mask-android.

patterueldev avatar patterueldev commented on June 2, 2024 2

Any recent updates? I'm trying to use this library called 'moko-widgets' (https://github.com/icerockdev/moko-widgets)
And I'm here because I'm encountering issues about this library not being available on mavenCentral.

use below snippet in your toplevel build.gradle to substitute dependency to jitpack repo. In my case on react-native project I didnt want to patch the npm package

allprojects {
    repositories {
        maven {
            url 'https://jitpack.io'
        }
    }
    configurations.all {
        resolutionStrategy {
            dependencySubstitution {
                substitute module("com.redmadrobot:input-mask-android:6.0.0") using module('com.github.RedMadRobot:input-mask-android:6.0.0')
            }
        }
    }
}

For kotlin dsl people, I'm using this:

allprojects {
    repositories {
        google()
        mavenCentral()
        maven(url = "https://jitpack.io")
    }
    configurations.all {
        resolutionStrategy {
            dependencySubstitution {
                substitute(
                    module("com.redmadrobot:input-mask-android:6.0.0")
                ).using(module("com.github.RedMadRobot:input-mask-android:6.0.0"))
            }
        }
    }
}

from input-mask-android.

GuilhE avatar GuilhE commented on June 2, 2024 1

This will also help.

from input-mask-android.

xandr08 avatar xandr08 commented on June 2, 2024 1

Hi there! We want to remove jcenter() from our project.
When are you planning to migrate to maven?
Thanks for the library)

from input-mask-android.

taflanidi avatar taflanidi commented on June 2, 2024 1

Closing.

Please refer to the PSA.

from input-mask-android.

taflanidi avatar taflanidi commented on June 2, 2024

No shit.

from input-mask-android.

taflanidi avatar taflanidi commented on June 2, 2024

More news

https://twitter.com/gradle/status/1357766534370893832?s=20

from input-mask-android.

GuilhE avatar GuilhE commented on June 2, 2024

Another nice helping article: Migrating old artifacts from JCenter to MavenCentral

from input-mask-android.

ildar2 avatar ildar2 commented on June 2, 2024

any updates? only one month left

from input-mask-android.

ozbek avatar ozbek commented on June 2, 2024

The migration is in progress. I haven't had much time, unfortunately, but still I'd like to finish up this weekend.

Migration to JitPack seems to require a lot less effort (in case this weekend is still not around:).

from input-mask-android.

ozbek avatar ozbek commented on June 2, 2024

That's right, albeit with a different group ID.

from input-mask-android.

ozbek avatar ozbek commented on June 2, 2024

JitPack FTW!

from input-mask-android.

s-fedosov avatar s-fedosov commented on June 2, 2024

jitpack is down.

from input-mask-android.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.