mirror of
https://github.com/videolan/vlc-android
synced 2024-11-23 18:05:36 +08:00
Fix build on Apple Silicon devices
This commit is contained in:
parent
9c78e762dd
commit
bc7b4879a7
@ -68,6 +68,7 @@ dependencies {
|
||||
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
|
||||
//Room
|
||||
implementation "androidx.room:room-ktx:$rootProject.ext.roomVersion"
|
||||
kapt ('org.xerial:sqlite-jdbc:3.34.0')
|
||||
kapt "androidx.room:room-compiler:$rootProject.ext.roomVersion"
|
||||
implementation project(':application:tools')
|
||||
implementation project(':application:resources')
|
||||
|
@ -55,6 +55,8 @@ dependencies {
|
||||
|
||||
//Room
|
||||
implementation "androidx.room:room-runtime:$rootProject.ext.roomVersion"
|
||||
// Provide proper JDBC version, see https://issuetracker.google.com/issues/174695268
|
||||
kapt ('org.xerial:sqlite-jdbc:3.34.0')
|
||||
kapt "androidx.room:room-compiler:$rootProject.ext.roomVersion"
|
||||
|
||||
|
||||
|
@ -173,7 +173,10 @@ dependencies {
|
||||
api "androidx.lifecycle:lifecycle-livedata-ktx:$rootProject.ext.lifecycleVersion"
|
||||
api "androidx.lifecycle:lifecycle-common-java8:$rootProject.ext.lifecycleVersion"
|
||||
api "androidx.room:room-runtime:$rootProject.ext.roomVersion"
|
||||
kapt "androidx.room:room-compiler:$rootProject.ext.roomVersion"
|
||||
|
||||
kapt ('org.xerial:sqlite-jdbc:3.34.0')
|
||||
kapt("androidx.room:room-compiler:$rootProject.ext.roomVersion")
|
||||
|
||||
api "androidx.paging:paging-runtime-ktx:$rootProject.ext.pagingVersion"
|
||||
|
||||
|
||||
|
@ -62,7 +62,7 @@ ext {
|
||||
constraintLayoutVersion = '2.0.4'
|
||||
viewPager2Version = "1.0.0"
|
||||
archVersion = '2.1.0'
|
||||
roomVersion = '2.2.6'
|
||||
roomVersion = '2.3.0'
|
||||
pagingVersion = '2.1.2'
|
||||
junitVersion = '4.13'
|
||||
mockito = '2.25.0'
|
||||
|
Loading…
Reference in New Issue
Block a user