mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Don't include android resources for unit tests, requires minSDK 19
This commit is contained in:
parent
c32aed4e46
commit
55a0baa2a4
@ -83,7 +83,6 @@ private fun BaseExtension.baseConfigure(path: String) {
|
|||||||
testOptions {
|
testOptions {
|
||||||
unitTests.apply {
|
unitTests.apply {
|
||||||
isReturnDefaultValues = true
|
isReturnDefaultValues = true
|
||||||
isIncludeAndroidResources = true
|
|
||||||
all(KotlinClosure1<Any, Test>({
|
all(KotlinClosure1<Any, Test>({
|
||||||
(this as Test).also { testTask ->
|
(this as Test).also { testTask ->
|
||||||
testTask.useJUnitPlatform()
|
testTask.useJUnitPlatform()
|
||||||
|
@ -6,18 +6,11 @@ buildscript {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath Libs.com_android_tools_build_gradle
|
|
||||||
classpath Libs.kotlin_gradle_plugin
|
|
||||||
classpath Libs.objectbox_gradle_plugin
|
classpath Libs.objectbox_gradle_plugin
|
||||||
classpath Libs.ktlint_gradle
|
|
||||||
classpath Libs.butterknife_gradle_plugin
|
classpath Libs.butterknife_gradle_plugin
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
|
||||||
id("checkstyle")
|
|
||||||
id("com.github.triplet.play") version("2.4.1")
|
|
||||||
}
|
|
||||||
apply plugin: 'com.android.library'
|
apply plugin: 'com.android.library'
|
||||||
apply plugin: KiwixConfigurationPlugin
|
apply plugin: KiwixConfigurationPlugin
|
||||||
apply plugin: 'io.objectbox'
|
apply plugin: 'io.objectbox'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user