shiburagi / Drawer-Behavior

Drawer behavior is a library that provide an extra behavior on drawer, such as, move view or scaling view's height while drawer on slide.
https://shiburagi.github.io/Drawer-Behavior/
MIT License
593 stars 101 forks source link

Not Working After Jcenter() deprecation #34

Closed HridaySarma closed 2 years ago

HridaySarma commented 3 years ago

So , recently Jcenter() announced that they are closing down and the libraries will not work from february 2022 so , after i remove Jcenter() it says class not found exception.

nicemak commented 3 years ago

@shiburagi @searchy2 @exaZero any update?

shiburagi commented 3 years ago

For this moment, please use dependency from here https://jitpack.io/#shiburagi/Drawer-Behavior/v1.0.4

Still looking for JCenter alternative

nicemak commented 3 years ago

Could not resolve all artifacts for configuration ':app:debugRuntimeClasspath'.

Could not find com.github.shiburagi:Drawer-Behavior:v1.0.4. Searched in the following locations:

nicemak commented 3 years ago
buildscript
        {
            ext.kotlin_version = '1.4.32'
            repositories
                    {
                        google()
                        mavenCentral()
                        maven { url 'https://jitpack.io' }
                        //maven { url "https://dl.bintray.com/emre/maven" }
                        //maven { url "https://dl.bintray.com/infideap2/Drawer-Behavior" }
                        jcenter()
                    }
            dependencies
                    {
                        classpath 'com.android.tools.build:gradle:4.2.1'
                        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
                        classpath 'com.google.gms:google-services:4.3.8'
                        // NOTE: Do not place your application dependencies here; they belong
                        // in the individual module build.gradle files
                    }
        }

allprojects
        {
            repositories
                    {
                        google()
                        maven { url 'https://jitpack.io' }
                        mavenCentral()
                        jcenter()
                    }
        }
shiburagi commented 3 years ago

@nicemak last option,

allprojects {
    repositories {
        ....
        maven {
            name = "GitHubPackages"
            url = uri("https://maven.pkg.github.com/shiburagi/Drawer-Behavior") // Github Package
            credentials {
                username = "shiburagi"
                password = "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"
            }
        }

    }
}
    implementation 'com.shiburagi.drawerbehavior:drawerbehavior:1.0.13'
nicemak commented 3 years ago

I was not able to sync project after this, than I import it as module. thanks

m5kh6n77 commented 3 years ago

@nicemak last option,

allprojects {
    repositories {
        ....
        maven {
            name = "GitHubPackages"
            url = uri("https://maven.pkg.github.com/shiburagi/Drawer-Behavior") // Github Package
            credentials {
                username = "shiburagi"
                password = "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"
            }
        }

    }
}
    implementation 'com.shiburagi.drawerbehavior:drawerbehavior:1.0.13'

both of this answer not work after jcenter deprecated

Rafal-Okuniewski commented 3 years ago

Is there an alternative to jcenter being developed?

soodkartik1993 commented 3 years ago

Any solution to migrate into mavencentral()

abdulaziz733 commented 3 years ago

hi, just try this

dependencies { implementation 'com.infideap.drawerbehavior:drawer-behavior:0.1.5' }

repositories { maven{ url "https://dl.bintray.com/infideap2/Drawer-Behavior" } }

hipefully help

reference: https://stackoverflow.com/questions/41843485/transition-in-navigation-drawer-android

scorpionx2file commented 2 years ago

hi, just try this

dependencies { implementation 'com.infideap.drawerbehavior:drawer-behavior:0.1.5' }

repositories { maven{ url "https://dl.bintray.com/infideap2/Drawer-Behavior" } }

hipefully help

reference: https://stackoverflow.com/questions/41843485/transition-in-navigation-drawer-android

update : it worked for my project

implementation 'com.infideap.drawerbehavior:drawer-behavior:1.0.0' maven{ url "https://dl.bintray.com/infideap2/Drawer-Behavior" }

ahmed-shehataa commented 2 years ago

@nicemak last option,

allprojects {
    repositories {
        ....
        maven {
            name = "GitHubPackages"
            url = uri("https://maven.pkg.github.com/shiburagi/Drawer-Behavior") // Github Package
            credentials {
                username = "shiburagi"
                password = "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"
            }
        }

    }
}
    implementation 'com.shiburagi.drawerbehavior:drawerbehavior:1.0.13'

thank you >> it works for me.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.