Closed HridaySarma closed 2 years ago
@shiburagi @searchy2 @exaZero any update?
For this moment, please use dependency from here https://jitpack.io/#shiburagi/Drawer-Behavior/v1.0.4
Still looking for JCenter alternative
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:
- https://dl.google.com/dl/android/maven2/com/github/shiburagi/Drawer-Behavior/v1.0.4/Drawer-Behavior-v1.0.4.pom
- https://jitpack.io/com/github/shiburagi/Drawer-Behavior/v1.0.4/Drawer-Behavior-v1.0.4.pom
- https://repo.maven.apache.org/maven2/com/github/shiburagi/Drawer-Behavior/v1.0.4/Drawer-Behavior-v1.0.4.pom
- https://jcenter.bintray.com/com/github/shiburagi/Drawer-Behavior/v1.0.4/Drawer-Behavior-v1.0.4.pom Required by: project :app
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()
}
}
@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'
I was not able to sync project after this, than I import it as module. thanks
@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
Is there an alternative to jcenter being developed?
Any solution to migrate into mavencentral()
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
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" }
@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.
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.
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.