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

Gradle can't resolve your library #2

Open
68449263 opened this issue Jan 19, 2019 · 4 comments
Open

Gradle can't resolve your library #2

68449263 opened this issue Jan 19, 2019 · 4 comments

Comments

@68449263
Copy link

Hi

I tried to implement/compile your library to my project but gradle can't resolve any of the versions you specified even the ones on your site.

@firdausmaulan
Copy link
Owner

have you add jitpack.io and ext to your root gradle?
it should be like this

buildscript {

    ext.compile_sdk_version = 28
    ext.min_sdk_version = 14
    ext.target_sdk_version = 28
    ext.support_version = '28.0.0'
    ext.glide_version = '4.8.0'
    ext.glide_slider_version = '1.4.0'
	
	// use this config if you want to load svg
	//ext.glide_slider_version = '1.3.1'
	//ext.androidsvg_version = '1.2.1'

    repositories {
        google()
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:3.2.1'
    }
}

allprojects {
    repositories {
        google()
        jcenter()
        mavenCentral()
        maven {
            url "https://jitpack.io"
        }
    }
}

@68449263
Copy link
Author

68449263 commented Jan 21, 2019 via email

@MMA-Inc
Copy link

MMA-Inc commented Jul 27, 2019

It works, Great!

@68449263
Copy link
Author

68449263 commented Jul 27, 2019 via email

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

3 participants