skip to Main Content

How can add library from github?
examble:

dependencies {
 implementation 'com.github.bumptech.glide:glide:4.16.0'
}

also like this one

implementation 'com.github.dhimant1990:TimerTextView:v1.0'

New implement like this

implementation libs.appcompat

2

Answers


  1. You can use jitpack.io for this, below implementation –

    allprojects {
        repositories {
            // ... other repositories
    
            maven { url 'https://jitpack.io' }
        }
    }
    
    dependencies {
       implementation 'com.github.bumptech.glide:glide:4.16.0'
       implementation 'com.github.dhimant1990:TimerTextView:v1.0' 
    

    }

    Login or Signup to reply.
  2. dependencies {
     implementation("com.github.bumptech.glide:glide:4.16.0")
     }
    Right Click or alt+enter -> Replace with new new library CatLog 
    declaration
    then you will see like that  implementation(libs.glide)
    and Sync Now
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search