Issue#106 Move SharedTest Folder into it's separate Android Module as suggested
This commit is contained in:
parent
9f79b4e67f
commit
9752d1643b
37 changed files with 172 additions and 232 deletions
46
app-shared-test/build.gradle
Normal file
46
app-shared-test/build.gradle
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
plugins {
|
||||
id 'com.android.library'
|
||||
id 'org.jetbrains.kotlin.android'
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdk 31
|
||||
|
||||
defaultConfig {
|
||||
minSdk 21
|
||||
targetSdk 31
|
||||
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
consumerProguardFiles "consumer-rules.pro"
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
|
||||
}
|
||||
}
|
||||
sourceSets {
|
||||
main {
|
||||
assets.srcDirs += files("$projectDir/../app/schemas".toString())
|
||||
resources.srcDirs += files("$projectDir/../app/schemas".toString())
|
||||
}
|
||||
}
|
||||
compileOptions {
|
||||
sourceCompatibility JavaVersion.VERSION_1_8
|
||||
targetCompatibility JavaVersion.VERSION_1_8
|
||||
}
|
||||
kotlinOptions {
|
||||
jvmTarget = '1.8'
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":app")
|
||||
implementation project(':test-util-android')
|
||||
implementation testFixtures(project(':core'))
|
||||
implementation "io.insert-koin:koin-android:$koin_version"
|
||||
implementation project(':test-util-shared-robolectric')
|
||||
|
||||
applyAppSharedTestDependenciesTo(this)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue