How to compile forked library in Gradle?

前端 未结 4 1067
你的背包
你的背包 2020-12-05 00:35

I want to compile the following library in my project in build.gradle:

https://github.com/theDazzler/Android-Bootstrap

It is forked from https:/

4条回答
  •  伪装坚强ぢ
    2020-12-05 01:00

    It can be simply done by using Jitpack.

    Step 1. Add the JitPack repository to your build file

    allprojects {
            repositories {
    
                maven { url 'https://jitpack.io' }
            }
        }
    

    Step 2. Add the dependency

    dependencies {
            compile 'com.github.User:Repo:Tag'
        }
    

    for eg: compile 'com.github.sachinvarma:JcPlayer:0.0.1'

提交回复
热议问题