Skip to content

Commit ef34fc4

Browse files
committed
Update API level to support canvas functions
1 parent d32dad9 commit ef34fc4

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

blurkit/build.gradle

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,16 @@ android {
1212
buildToolsVersion '28.0.2'
1313

1414
defaultConfig {
15-
minSdkVersion 16
15+
minSdkVersion 21
1616
targetSdkVersion 28
1717
versionCode 1
1818
versionName "1.0.0"
1919
renderscriptTargetApi 28
2020
renderscriptSupportModeEnabled true
21+
testInstrumentationRunner 'android.support.test.runner.AndroidJUnitRunner'
22+
}
23+
testOptions {
24+
unitTests.returnDefaultValues = true
2125
}
2226
buildTypes {
2327
release {
@@ -29,6 +33,13 @@ android {
2933

3034
dependencies {
3135
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
36+
testImplementation 'junit:junit:4.12'
37+
testImplementation 'org.mockito:mockito-core:1.10.19'
38+
androidTestImplementation 'com.android.support:support-annotations:28.0.0'
39+
androidTestImplementation 'com.android.support.test:runner:1.0.2'
40+
androidTestImplementation 'com.android.support.test:rules:1.0.2'
41+
androidTestImplementation 'org.hamcrest:hamcrest-library:1.3'
42+
3243
}
3344

3445
apply from: 'https://raw.githubusercontent.com/blundell/release-android-library/master/android-release-aar.gradle'

demo/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ android {
55
buildToolsVersion '28.0.2'
66
defaultConfig {
77
applicationId "com.alterac.blurkit.demo"
8-
minSdkVersion 16
8+
minSdkVersion 21
99
targetSdkVersion 28
1010
versionCode 1
1111
versionName "1.0"

0 commit comments

Comments
 (0)