Skip to content

Commit 3e4c0bc

Browse files
authored
v1.5.7 Changes (#95)
* adds convenience methods for saving and restoring pan / zoom state * adds IN_ORDER mode to BarRenderer * remove unused PlotRenderException * valuemarkers now contain their own draw logic, making it easier to customize * update project / dependencies * #94 update createBitmap to use ARGB_8888 to address ARGB_4444 deprecation warning. adds better error message on failure. * #83 Perform a null check before recycling buffered canvas instances * update app version / release notes
1 parent c960518 commit 3e4c0bc

30 files changed

+1240
-1212
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
key: v1-dependencies-{{ checksum "build.gradle" }}
5353

5454
# run tests & code coc!
55-
- run: ./gradlew testDebug jacocoTestReportDebug
55+
- run: ./gradlew testDebugUnitTest jacocoTestDebugUnitTestReport
5656

5757
# build release
5858
- run: ./gradlew assembleRelease

androidplot-core/build.gradle

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
apply plugin: 'com.android.library'
1818
apply plugin: 'com.github.dcendents.android-maven'
1919
apply plugin: 'com.jfrog.bintray'
20-
apply plugin: 'com.vanniktech.android.junit.jacoco'
21-
apply plugin: 'com.github.kt3k.coveralls'
20+
apply plugin: 'jacoco-android'
2221

2322
class AttrMarkdown extends DefaultTask {
2423

@@ -67,6 +66,14 @@ android {
6766
testApplicationId "com.androidplot.test"
6867
}
6968

69+
testOptions {
70+
unitTests.all {
71+
jacoco {
72+
includeNoLocationClasses = true
73+
}
74+
}
75+
}
76+
7077
/**
7178
* TODO: enable and address lint issues.
7279
*/
@@ -83,15 +90,15 @@ def gitUrl = 'https://github.com/halfhp/androidplot.git'
8390

8491
dependencies {
8592

86-
compile 'com.halfhp.fig:figlib:1.0.7'
87-
compile 'com.android.support:support-annotations:27.0.2'
88-
testCompile "org.mockito:mockito-core:1.10.19"
89-
testCompile group: 'junit', name: 'junit', version: '4.12'
90-
testCompile "org.robolectric:robolectric:3.1"
93+
implementation 'com.halfhp.fig:figlib:1.0.7'
94+
implementation 'com.android.support:support-annotations:28.0.0'
95+
testImplementation "org.mockito:mockito-core:2.13.0"
96+
testImplementation group: 'junit', name: 'junit', version: '4.12'
97+
testImplementation "org.robolectric:robolectric:4.0.1"
9198

9299
// temp fix for:
93100
// https://github.com/robolectric/robolectric/issues/1932
94-
testCompile 'org.khronos:opengl-api:gl1.1-android-2.1_r1'
101+
testImplementation 'org.khronos:opengl-api:gl1.1-android-2.1_r1'
95102
}
96103

97104
task javadoc(type: Javadoc) {

0 commit comments

Comments
 (0)