-
-
Notifications
You must be signed in to change notification settings - Fork 735
refactored to work on Android N #418
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,20 +9,22 @@ version = '1.13.1-SNAPSHOT' | |
buildscript { | ||
repositories { | ||
mavenCentral() | ||
jcenter() | ||
} | ||
|
||
dependencies { | ||
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1x' | ||
classpath 'com.android.tools.build:gradle:2.1.0-alpha1' | ||
classpath 'org.kt3k.gradle.plugin:coveralls-gradle-plugin:2.0.1x' | ||
} | ||
} | ||
|
||
android { | ||
compileSdkVersion rootProject.ext.compileSdkVersion | ||
buildToolsVersion rootProject.ext.buildToolsVersion | ||
compileSdkVersion rootProject.getProperties().get('compileSdkVersion') | ||
buildToolsVersion rootProject.getProperties().get('buildToolsVersion') | ||
|
||
defaultConfig { | ||
minSdkVersion rootProject.ext.minSdkVersion | ||
targetSdkVersion rootProject.ext.targetSdkVersion | ||
minSdkVersion rootProject.getProperties().get('minSdkVersion') | ||
targetSdkVersion rootProject.getProperties().get('targetSdkVersion') | ||
versionCode 1 | ||
versionName project.version | ||
} | ||
|
@@ -36,14 +38,22 @@ android { | |
testCoverageEnabled = true | ||
} | ||
} | ||
compileOptions { | ||
sourceCompatibility JavaVersion.VERSION_1_7 | ||
targetCompatibility JavaVersion.VERSION_1_7 | ||
} | ||
|
||
|
||
|
||
useLibrary 'org.apache.http.legacy' | ||
} | ||
|
||
dependencies { | ||
compile 'com.android.tools.build:gradle:2.0.0-beta6' | ||
compile 'com.parse.bolts:bolts-tasks:1.4.0' | ||
|
||
compile 'org.apache.httpcomponents:httpclient-android:4.3.5.1' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is unnecessary since you already have There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. delete line |
||
provided 'com.squareup.okhttp:okhttp:2.4.0' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. these need to go to okhttp3 |
||
provided 'com.facebook.stetho:stetho:1.1.1' | ||
|
||
testCompile 'org.robolectric:robolectric:3.0' | ||
testCompile 'org.skyscreamer:jsonassert:1.2.3' | ||
testCompile 'org.mockito:mockito-core:1.10.19' | ||
|
@@ -204,6 +214,6 @@ task jacocoTestReport(type:JacocoReport, dependsOn: "testDebugUnitTest") { | |
|
||
//region Coveralls | ||
|
||
coveralls.jacocoReportPath = "${buildDir}/reports/jacoco/jacocoTestReport/jacocoTestReport.xml" | ||
//coveralls.jacocoReportPath = "${buildDir}/reports/jacoco/jacocoTestReport/jacocoTestReport.xml" | ||
|
||
//endregion |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you can kill this line, maven is redundant