Merge pull request #1140 from samspycher/feature/apple-m1-compatibility
Enable build on Apple M1
This commit is contained in:
commit
f0d2da72ae
1 changed files with 8 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue