Merge pull request #1140 from samspycher/feature/apple-m1-compatibility

Enable build on Apple M1
This commit is contained in:
Milos Kozak 2022-01-09 18:07:50 +01:00 committed by GitHub
commit f0d2da72ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -76,6 +76,14 @@ allprojects {
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) {