14: Match gradle dependencies with AOSP android-14.0.0_r1
* Not many libs got updated, but most significantly, the Kotlin compiler was updated Change-Id: I9454a2e42b6d5da1349f2f662676710212c984f2
This commit is contained in:
parent
a6b32ac3d2
commit
eaa3715a6e
2 changed files with 20 additions and 19 deletions
11
build.gradle
11
build.gradle
|
@ -3,15 +3,16 @@ buildscript {
|
||||||
// 1.4.30 Android 12
|
// 1.4.30 Android 12
|
||||||
// 1.6.10 Android 13
|
// 1.6.10 Android 13
|
||||||
// 1.7.20 Android 13 (QPR2)
|
// 1.7.20 Android 13 (QPR2)
|
||||||
|
// 1.8.10 Android 14
|
||||||
// Check:
|
// Check:
|
||||||
// https://android.googlesource.com/platform/external/kotlinc/+/refs/tags/android-13.0.0_r32/build.txt
|
// https://android.googlesource.com/platform/external/kotlinc/+/refs/tags/android-14.0.0_r1/build.txt
|
||||||
ext.aosp_kotlin_version = '1.7.20' // 1.7.20-release-201 in AOSP
|
ext.aosp_kotlin_version = '1.8.10' // 1.8.10-release-430 in AOSP
|
||||||
ext.kotlin_version = '1.7.20'
|
ext.kotlin_version = '1.8.10'
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins {
|
plugins {
|
||||||
id 'com.android.application' version '8.1.0' apply false
|
id 'com.android.application' version '8.1.2' apply false
|
||||||
id 'com.android.library' version '8.1.0' apply false
|
id 'com.android.library' version '8.1.2' apply false
|
||||||
id 'com.google.protobuf' version '0.9.4' apply false
|
id 'com.google.protobuf' version '0.9.4' apply false
|
||||||
id 'org.jetbrains.kotlin.android' version "$kotlin_version" apply false
|
id 'org.jetbrains.kotlin.android' version "$kotlin_version" apply false
|
||||||
id 'org.jetbrains.kotlin.kapt' version "$kotlin_version" apply false
|
id 'org.jetbrains.kotlin.kapt' version "$kotlin_version" apply false
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
ext {
|
ext {
|
||||||
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-13.0.0_r3/current/androidx/Android.bp#3901
|
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-13.0.0_r3/current/androidx/Android.bp#3901
|
||||||
ext.room_version = "2.4.0-alpha05" // 2.5.0-alpha01 in AOSP but needs testing
|
ext.room_version = "2.4.0-alpha05" // 2.5.0-alpha01 in AOSP but needs testing
|
||||||
// https://android.googlesource.com/platform/external/protobuf/+/refs/tags/android-13.0.0_r32/java/pom.xml#7
|
// https://android.googlesource.com/platform/external/protobuf/+/refs/tags/android-14.0.0_r1/java/pom.xml#7
|
||||||
ext.protobuf_version = "3.9.1"
|
ext.protobuf_version = "3.21.7"
|
||||||
|
|
||||||
// test dependencies below - these do not care about AOSP and can be freely updated
|
// test dependencies below - these do not care about AOSP and can be freely updated
|
||||||
junit4_version = "4.13.2"
|
junit4_version = "4.13.2"
|
||||||
|
@ -39,11 +39,11 @@ ext.kotlin_libs = [
|
||||||
],
|
],
|
||||||
coroutines: [
|
coroutines: [
|
||||||
dependencies.create('org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm') {
|
dependencies.create('org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm') {
|
||||||
// https://android.googlesource.com/platform/external/kotlinx.coroutines/+/refs/tags/android-13.0.0_r32/CHANGES.md
|
// https://android.googlesource.com/platform/external/kotlinx.coroutines/+/refs/tags/android-14.0.0_r1/CHANGES.md
|
||||||
version { strictly '1.6.4' }
|
version { strictly '1.6.4' }
|
||||||
},
|
},
|
||||||
dependencies.create('org.jetbrains.kotlinx:kotlinx-coroutines-android') {
|
dependencies.create('org.jetbrains.kotlinx:kotlinx-coroutines-android') {
|
||||||
// https://android.googlesource.com/platform/external/kotlinx.coroutines/+/refs/tags/android-13.0.0_r32/CHANGES.md
|
// https://android.googlesource.com/platform/external/kotlinx.coroutines/+/refs/tags/android-14.0.0_r1/CHANGES.md
|
||||||
version { strictly '1.6.4' }
|
version { strictly '1.6.4' }
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
@ -51,44 +51,44 @@ ext.kotlin_libs = [
|
||||||
|
|
||||||
ext.std_libs = [
|
ext.std_libs = [
|
||||||
androidx_core: [
|
androidx_core: [
|
||||||
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-13.0.0_r32/current/androidx/Android.bp#2275
|
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-14.0.0_r1/current/androidx/Android.bp#2420
|
||||||
dependencies.create('androidx.core:core') {
|
dependencies.create('androidx.core:core') {
|
||||||
version { strictly '1.9.0-alpha05' } // 1.9.0-alpha03 in AOSP but has SDK version issues
|
version { strictly '1.9.0-alpha05' } // 1.9.0-alpha03 in AOSP but has SDK version issues
|
||||||
},
|
},
|
||||||
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-13.0.0_r32/current/androidx/Android.bp#2241
|
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-14.0.0_r1/current/androidx/Android.bp#2386
|
||||||
dependencies.create('androidx.core:core-ktx') {
|
dependencies.create('androidx.core:core-ktx') {
|
||||||
version { strictly '1.9.0-alpha05' } // 1.9.0-alpha03 in AOSP but has SDK version issues
|
version { strictly '1.9.0-alpha05' } // 1.9.0-alpha03 in AOSP but has SDK version issues
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-13.0.0_r32/current/androidx/Android.bp#2705
|
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-14.0.0_r1/current/androidx/Android.bp#2849
|
||||||
androidx_fragment: dependencies.create('androidx.fragment:fragment-ktx') {
|
androidx_fragment: dependencies.create('androidx.fragment:fragment-ktx') {
|
||||||
version { strictly '1.5.0-alpha03' }
|
version { strictly '1.5.0-alpha03' }
|
||||||
},
|
},
|
||||||
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-13.0.0_r32/current/androidx/Android.bp#61
|
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-14.0.0_r1/current/androidx/Android.bp#61
|
||||||
androidx_activity: dependencies.create('androidx.activity:activity-ktx') {
|
androidx_activity: dependencies.create('androidx.activity:activity-ktx') {
|
||||||
version { strictly '1.5.0-alpha03' }
|
version { strictly '1.5.0-alpha03' }
|
||||||
},
|
},
|
||||||
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-13.0.0_r32/current/androidx/Android.bp#4275
|
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-14.0.0_r1/current/androidx/Android.bp#4420
|
||||||
androidx_preference: dependencies.create('androidx.preference:preference') {
|
androidx_preference: dependencies.create('androidx.preference:preference') {
|
||||||
version { strictly '1.2.0-alpha01' }
|
version { strictly '1.2.0-alpha01' }
|
||||||
},
|
},
|
||||||
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-13.0.0_r3/current/androidx/Android.bp#3376
|
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-13.0.0_r3/current/androidx/Android.bp#3521
|
||||||
androidx_lifecycle_viewmodel_ktx: dependencies.create('androidx.lifecycle:lifecycle-viewmodel-ktx') {
|
androidx_lifecycle_viewmodel_ktx: dependencies.create('androidx.lifecycle:lifecycle-viewmodel-ktx') {
|
||||||
version { strictly '2.5.0-alpha03' }
|
version { strictly '2.5.0-alpha03' }
|
||||||
},
|
},
|
||||||
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-13.0.0_r32/current/androidx/Android.bp#3134
|
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-14.0.0_r1/current/androidx/Android.bp#3279
|
||||||
androidx_lifecycle_livedata_ktx: dependencies.create('androidx.lifecycle:lifecycle-livedata-ktx') {
|
androidx_lifecycle_livedata_ktx: dependencies.create('androidx.lifecycle:lifecycle-livedata-ktx') {
|
||||||
version { strictly '2.5.0-alpha03' }
|
version { strictly '2.5.0-alpha03' }
|
||||||
},
|
},
|
||||||
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-13.0.0_r3/current/extras/constraint-layout-x/Android.bp#64
|
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-14.0.0_r1/current/androidx/Android.bp#2244
|
||||||
androidx_constraintlayout: dependencies.create('androidx.constraintlayout:constraintlayout') {
|
androidx_constraintlayout: dependencies.create('androidx.constraintlayout:constraintlayout') {
|
||||||
version { strictly '2.2.0-alpha05' }
|
version { strictly '2.2.0-alpha05' }
|
||||||
},
|
},
|
||||||
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-13.0.0_r32/current/androidx/Android.bp#2411
|
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-14.0.0_r1/current/androidx/Android.bp#2556
|
||||||
androidx_documentfile: dependencies.create('androidx.documentfile:documentfile') {
|
androidx_documentfile: dependencies.create('androidx.documentfile:documentfile') {
|
||||||
version { strictly '1.1.0-alpha01' } // 1.1.0-alpha02 in AOSP but not released yet
|
version { strictly '1.1.0-alpha01' } // 1.1.0-alpha02 in AOSP but not released yet
|
||||||
},
|
},
|
||||||
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-13.0.0_r32/current/extras/material-design-x/Android.bp#6
|
// https://android.googlesource.com/platform/prebuilts/sdk/+/refs/tags/android-14.0.0_r1/current/extras/material-design-x/Android.bp#15
|
||||||
com_google_android_material: dependencies.create('com.google.android.material:material') {
|
com_google_android_material: dependencies.create('com.google.android.material:material') {
|
||||||
version { strictly '1.7.0-alpha03' }
|
version { strictly '1.7.0-alpha03' }
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue