Skip to content

Commit

Permalink
Merge pull request #594 from hannesa2/kspReleaseKotlin
Browse files Browse the repository at this point in the history
Fix task kspReleaseKotlin
  • Loading branch information
hannesa2 authored Mar 31, 2024
2 parents b8dd971 + f7b526b commit a6d0202
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions extendedSample/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ android {
versionCode getGitCommitCount()
versionName getTag()

javaCompileOptions {
annotationProcessorOptions { arguments = ["room.schemaLocation": "$projectDir/schemas".toString()] }
ksp {
arg('room.schemaLocation', "$projectDir/schemas")
}

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
testInstrumentationRunnerArguments useTestStorageService: 'true'
}
Expand Down
4 changes: 2 additions & 2 deletions serviceLibrary/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ android {
pickFirst 'META-INF/serviceLibrary_debug.kotlin_module'
}

javaCompileOptions {
annotationProcessorOptions { arguments = ["room.schemaLocation": "$projectDir/schemas".toString()] }
ksp {
arg('room.schemaLocation', "$projectDir/schemas")
}

buildTypes {
Expand Down

0 comments on commit a6d0202

Please sign in to comment.