Open AbdelrahmanMahmoud262 opened 1 year ago
I also need this. In latest android studio library not downloading in gradle..
Are there any updates on this?
@barteksc
Add this line at two place in build.gradle maven { url "https://jcenter.bintray.com"}/
example,
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { // ext.kotlin_version = '1.7.1' repositories { google() mavenCentral() maven { url "https://jcenter.bintray.com"}/ } dependencies { classpath 'com.android.tools.build:gradle:8.1.2' classpath 'com.google.gms:google-services:4.4.0' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
// classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// def nav_version = '2.7.6' classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.7.6"
} }
allprojects { repositories { google() mavenCentral() maven { url "https://jcenter.bintray.com"}/
maven { url "https://jitpack.io" } //zooming photoView
} }
tasks.register('clean', Delete) { delete rootProject.buildDir }
Add this line at two place in build.gradle maven { url "https://jcenter.bintray.com"}/
example,
// Top-level build file where you can add configuration options common to all sub-projects/modules. buildscript { // ext.kotlin_version = '1.7.1' repositories { google() mavenCentral() maven { url "https://jcenter.bintray.com"}/ } dependencies { classpath 'com.android.tools.build:gradle:8.1.2' classpath 'com.google.gms:google-services:4.4.0' classpath 'com.google.firebase:firebase-crashlytics-gradle:2.9.9'
// classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files
// def nav_version = '2.7.6' classpath "androidx.navigation:navigation-safe-args-gradle-plugin:2.7.6"
} }
allprojects { repositories { google() mavenCentral() maven { url "https://jcenter.bintray.com"}/
maven { url "https://jitpack.io" } //zooming photoView
} }
tasks.register('clean', Delete) { delete rootProject.buildDir }
thanks works like a charm
Hello @DImuthuUpe
IMO the library should get a new release ASAP to MavenCentral, because otherwise a lot of projects that still rely on it will no longer be buildable, once JCenter stops serving requests, and fully re-directs to MavenCentral: https://jfrog.com/blog/jcenter-sunset/
IMO a patch release of 2.8.x should do just fine, as there are no stable versions of 3.x.y available.
Please support maven central