Skip to content
杨一 edited this page Oct 3, 2018 · 1 revision

Welcome to the AndroidHttp wiki!

How to

To get a Git project into your build:

Gradle:

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'
}

Maven:

<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>

Sbt:

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"	

Leiningen:

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"]]	

Clone this wiki locally