Export Room schemes (#963)
This commit is contained in:
parent
c9ce380d7a
commit
bac15c42bd
3 changed files with 286 additions and 1 deletions
|
|
@ -22,6 +22,12 @@ android {
|
|||
versionName "4.1"
|
||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||
vectorDrawables.useSupportLibrary = true
|
||||
|
||||
kapt {
|
||||
arguments {
|
||||
arg("room.schemaLocation", "$projectDir/schemas")
|
||||
}
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
|
|
@ -56,6 +62,10 @@ android {
|
|||
includeAndroidResources = true
|
||||
}
|
||||
}
|
||||
sourceSets {
|
||||
androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
|
||||
}
|
||||
|
||||
|
||||
packagingOptions {
|
||||
// Exclude unneeded files added by libraries
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue