Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.killerdiary:aframe:2.6.7.2'
}
dependencies {
implementation("com.github.killerdiary:aframe:2.6.7.2")
}
<dependency>
<groupId>com.github.killerdiary</groupId>
<artifactId>aframe</artifactId>
<version>2.6.7.2</version>
</dependency>
libraryDependencies += "com.github.killerdiary" % "aframe" % "2.6.7.2"
:dependencies [[com.github.killerdiary/aframe "2.6.7.2"]]
dependencies{
implementation 'com.github.killerdiary:aframe:v2.3.1'
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlinVersion"
implementation "com.android.support:design:$supportVersion"
implementation "com.android.support.constraint:constraint-layout:$constraintVersion"
implementation ("com.github.bumptech.glide:glide:$glideVersion"){
exclude group: 'com.android.support'
}
implementation "com.squareup.okhttp3:okhttp:$okhttpVersion"
implementation "com.google.code.gson:gson:$gsonVersion"
implementation 'io.reactivex.rxjava2:rxjava:2.1.9'
implementation ('io.reactivex.rxjava2:rxandroid:2.0.2'){
exclude group: 'io.reactivex.rxjava2', module: 'rxjava'
}
implementation ('com.squareup.retrofit2:retrofit:2.4.0') {
exclude group: 'com.android.support'
exclude group: 'com.squareup.okhttp3'
}
implementation ('com.squareup.retrofit2:adapter-rxjava2:2.4.0'){
exclude group: 'com.squareup.retrofit2', module: 'retrofit'
exclude group: 'io.reactivex.rxjava2', module: 'rxjava'
}
implementation ('com.squareup.retrofit2:converter-gson:2.4.0'){
exclude group: 'com.squareup.retrofit2', module: 'retrofit'
exclude group: 'com.google.code.gson', module: 'gson'
}
implementation("com.github.chrisbanes:PhotoView:$photoviewVersion") {
exclude group: 'com.android.support'
}
implementation('com.github.LuckSiege.PictureSelector:picture_library:v2.2.2') {
exclude group: 'com.android.support'
exclude group: 'io.reactivex.rxjava2'
exclude group: 'com.github.bumptech.glide'
}
implementation 'com.scwang.smartrefresh:SmartRefreshLayout:1.1.0-alpha-5'
implementation 'com.android.support:multidex:1.0.3'
}