Enable build on Apple M1

This commit is contained in:
Sam Spycher 2022-01-09 16:50:27 +01:00
parent b2bd7a7d21
commit 13a5c01bc5

View file

@ -76,6 +76,14 @@ allprojects {
jvmTarget = "11" jvmTarget = "11"
} }
} }
// Workaround to support M1 builds. Room 2.4.0 fixes this but requires min compileSdkVersion
// 31 => remove when upgrading to Room 2.4.0
// Source: https://issuetracker.google.com/issues/174695268
configurations.configureEach {
resolutionStrategy {
force 'org.xerial:sqlite-jdbc:3.34.0'
}
}
} }
task clean(type: Delete) { task clean(type: Delete) {