Extracts configurable networking layer.
* Extracts HttpEngine interface. * Uses LwHttp as default networking client. * Implements alternate networking client using OkHttp.
This commit is contained in:
committed by
Hannes Janetzek
parent
9bca50dfed
commit
af7d70cfd8
@@ -5,11 +5,16 @@ configurations { providedCompile }
|
||||
|
||||
dependencies {
|
||||
compile 'org.slf4j:slf4j-api:1.7.6'
|
||||
compile 'com.squareup.okhttp:okhttp:1.5.2'
|
||||
providedCompile 'com.google.code.findbugs:annotations:2.0.1'
|
||||
testCompile 'junit:junit:4.11'
|
||||
testCompile 'org.mockito:mockito-all:1.9.5'
|
||||
testCompile 'org.easytesting:fest-assert-core:2.0M10'
|
||||
}
|
||||
|
||||
sourceSets {
|
||||
main.java.srcDirs = ['src']
|
||||
test.java.srcDirs = ['test']
|
||||
main.resources.srcDirs = ['resources']
|
||||
main.compileClasspath += configurations.providedCompile
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user