Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Maven central #1167

Open
AbdelrahmanMahmoud262 opened this issue Oct 23, 2023 · 5 comments
Open

Support Maven central #1167

AbdelrahmanMahmoud262 opened this issue Oct 23, 2023 · 5 comments

Comments

@AbdelrahmanMahmoud262
Copy link

Please support maven central

@mdshourovmolla2000
Copy link

I also need this. In latest android studio library not downloading in gradle..

@kartikprakash1
Copy link

Are there any updates on this?

@kartikprakash1
Copy link

@barteksc

@dhirunand
Copy link

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
}

@angad305
Copy link

angad305 commented Mar 9, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants