-
Notifications
You must be signed in to change notification settings - Fork 11
Home
杨一 edited this page Oct 3, 2018
·
1 revision
Welcome to the AndroidHttp wiki!
To get a Git project into your build:
Step 1. Add the JitPack repository to your build file
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://www.jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.YouAreOnlyOne:AndroidHttp:1.0.0.1'
}
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://www.jitpack.io</url>
</repository>
</repositories>
Step 2. Add the dependency
<dependency>
<groupId>com.github.YouAreOnlyOne</groupId>
<artifactId>AndroidHttp</artifactId>
<version>1.0.0.1</version>
</dependency>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://www.jitpack.io"
Step 2. Add the dependency
libraryDependencies += "com.github.YouAreOnlyOne" % "AndroidHttp" % "1.0.0.1"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://www.jitpack.io"]]
Step 2. Add the dependency
:dependencies [[com.github.YouAreOnlyOne/AndroidHttp "1.0.0.1"]]