Skip to content

Commit 15f9556

Browse files
committed
Dependency added, build script updated, renamed all org.apache.http dependency to cz.msebera.android.httpclient
1 parent 00165f4 commit 15f9556

File tree

71 files changed

+1136
-1165
lines changed

Some content is hidden

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

71 files changed

+1136
-1165
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ language: android
22
jdk: openjdk7
33
android:
44
components:
5-
- build-tools-23.0.0
5+
- build-tools-23.0.1
66
- extra-android-support
77
- extra-android-m2repository
88
- android-23

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ allprojects {
1717
version = '1.4.9-SNAPSHOT'
1818

1919
repositories {
20+
mavenLocal()
2021
mavenCentral()
2122
}
2223

library/build.gradle

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@ apply plugin: 'com.android.library'
22

33
android {
44
compileSdkVersion 23
5-
buildToolsVersion '23.0.0'
6-
useLibrary 'org.apache.http.legacy'
5+
buildToolsVersion '23.0.1'
76

87
defaultConfig {
98
minSdkVersion 3
@@ -24,6 +23,10 @@ android {
2423
}
2524
}
2625

26+
dependencies {
27+
compile 'cz.msebera.android:httpclient:4.3.3'
28+
}
29+
2730
android.libraryVariants.all { variant ->
2831
def name = variant.buildType.name
2932
def task = project.tasks.create "jar${name.capitalize()}", Jar

library/src/main/AndroidManifest.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
3-
package="com.loopj.android.http">
3+
package="com.loopj.android.http">
44

5-
<uses-permission android:name="android.permission.INTERNET"/>
5+
<uses-permission android:name="android.permission.INTERNET" />
66

77
</manifest>

0 commit comments

Comments
 (0)