Skip to content

Commit 5b62f2f

Browse files
committed
Merge upstream/master and resolve conflict
src/com/loopj/android/http/RequestParams.java
2 parents 506644a + f1ab377 commit 5b62f2f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+2938
-975
lines changed

.classpath

Lines changed: 0 additions & 8 deletions
This file was deleted.

.gitignore

Lines changed: 31 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,40 @@
1+
# Custom
12
_site
3+
4+
# Ant
25
MANIFEST.MF
36
./*.jar
47
build.num
58
build
9+
10+
# ADT
11+
.classpath
12+
.project
13+
.settings
614
local.properties
7-
bin/
8-
gen/
15+
bin
16+
gen
917
_layouts
18+
proguard.cfg
19+
20+
# OSX
1021
.DS_Store
22+
23+
# Github
1124
gh-pages
25+
26+
# Gradle
27+
.gradle
28+
build
29+
30+
# IDEA
31+
*.iml
32+
*.ipr
33+
*.iws
34+
out
35+
.idea
36+
37+
# Maven
38+
target
39+
release.properties
40+
pom.xml.*

.project

Lines changed: 0 additions & 33 deletions
This file was deleted.

.travis.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
branches:
2+
only:
3+
- master
4+
language:
5+
- java
6+
jdk:
7+
- openjdk6
8+
before_install:
9+
# environment info
10+
- mvn -version
11+
- gradle -v
12+
- uname -a
13+
# required libs for android build tools
14+
- if [ `uname -m` = x86_64 ]; then sudo apt-get update; fi
15+
- if [ `uname -m` = x86_64 ]; then sudo apt-get install -qq --force-yes libgd2-xpm ia32-libs ia32-libs-multiarch; fi
16+
# for gradle output style
17+
- export TERM=dumb
18+
# newer version of gradle
19+
- wget http://services.gradle.org/distributions/gradle-1.8-bin.zip
20+
- unzip -qq gradle-1.8-bin.zip
21+
- export GRADLE_HOME=$PWD/gradle-1.8
22+
- export PATH=$GRADLE_HOME/bin:$PATH
23+
# just to test gradle version, against our provided one
24+
- gradle -v
25+
# newest android SDK 22.0.5
26+
- wget http://dl.google.com/android/android-sdk_r22.0.5-linux.tgz
27+
- tar -zxf android-sdk_r22.0.5-linux.tgz
28+
- export ANDROID_HOME=`pwd`/android-sdk-linux
29+
- export PATH=${PATH}:${ANDROID_HOME}/tools:${ANDROID_HOME}/platform-tools
30+
# manually set sdk.dir variable, according to local paths
31+
- echo "sdk.dir=$ANDROID_HOME" > local.properties
32+
- echo yes | android update sdk -t tools,platform-tools,extra-android-support,extra-android-m2repository,android-18 --force --no-ui
33+
# build tools cannot be installed through "android update sdk" as of now
34+
- wget http://dl.google.com/android/repository/build-tools_r18.0.1-linux.zip
35+
- mkdir -p $ANDROID_HOME/build-tools
36+
- unzip -qq build-tools_r18.0.1-linux.zip -d $ANDROID_HOME/build-tools/
37+
- mv $ANDROID_HOME/build-tools/android-4.3 $ANDROID_HOME/build-tools/18.0.1
38+
# verify files exist in right paths
39+
- find $ANDROID_HOME/build-tools
40+
- file $ANDROID_HOME/build-tools/18.0.1/aapt
41+
- echo "nexusUsername=dummy" >> library/gradle.properties
42+
- echo "nexusPassword=dummy" >> library/gradle.properties
43+

README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
Asynchronous Http Client for Android
22
====================================
33

4+
Travis CI state : [![Build Status](https://travis-ci.org/loopj/android-async-http.png?branch=master)](https://travis-ci.org/loopj/android-async-http)
5+
46
An asynchronous, callback-based Http client for Android built on top of Apache's [HttpClient](http://hc.apache.org/httpcomponents-client-ga/) libraries.
57

68

@@ -17,9 +19,33 @@ Features
1719
- Optional built-in response parsing into **JSON** (JsonHttpResponseHandler)
1820
- Optional **persistent cookie store**, saves cookies into your app's SharedPreferences
1921

22+
Maven
23+
-----
24+
You can now integrate this library in your project via Maven. There are available two kind of builds.
25+
26+
**development snapshots**
27+
https://oss.sonatype.org/content/repositories/snapshots/com/loopj/android/android-async-http/
28+
```
29+
Maven URL: https://oss.sonatype.org/content/repositories/snapshots/
30+
GroupId: com.loopj.android
31+
ArtifactId: async-http-client
32+
Version: 1.4.4-SNAPSHOT
33+
Packaging: JAR or AAR
34+
```
35+
36+
**releases, maven central**
37+
38+
http://central.maven.org/maven2/com/loopj/android/android-async-http/
39+
```
40+
Maven URL: http://repo1.maven.org/maven2/
41+
GroupId: com.loopj.android
42+
ArtifactId: async-http-client
43+
Version: 1.4.3
44+
Packaging: JAR or AAR
45+
```
2046

2147
Documentation, Features and Examples
2248
------------------------------------
2349
Full details and documentation can be found on the project page here:
2450

25-
http://loopj.com/android-async-http/
51+
http://loopj.com/android-async-http/

build.gradle

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
buildscript {
2+
repositories {
3+
mavenCentral()
4+
}
5+
6+
dependencies {
7+
classpath 'com.android.tools.build:gradle:0.6.+'
8+
}
9+
}
10+
11+
def isReleaseBuild() {
12+
return version.contains("SNAPSHOT") == false
13+
}
14+
15+
allprojects {
16+
group = 'com.loopj.android'
17+
version = '1.4.4-SNAPSHOT'
18+
19+
repositories {
20+
mavenCentral()
21+
}
22+
23+
tasks.withType(JavaCompile) {
24+
options.encoding = "UTF-8"
25+
}
26+
}
27+
28+
apply plugin: 'android-reporting'

build.xml

Lines changed: 0 additions & 98 deletions
This file was deleted.

0 commit comments

Comments
 (0)