Status Update
Comments
da...@google.com <da...@google.com> #3
hello?
au...@google.com <au...@google.com> #4
Note that I updated the topic to adjust for the recent prebuits/androidx/javascript-for-kotlin addition, so you might need to reapply it.
da...@google.com <da...@google.com> #6
I still don't know the root cause of the native crash but when I have a clean checkout of the topic and do ./gradlew :room:room-gradle-plugin:test
I see the crash. I have a feeling its happening because something might not be getting cleaned up when various tests are failing. We saw something similar with KSP2 where too many failures in XProcessing lead to OOMs.
With the following
da...@google.com <da...@google.com> #7
Chatted on the side with Aurimas, if you set kotlin.android.buildTypeAttribute.keep=false
in the gradle.properties
the Room Gradle Plugin tests pass, please add it to the topic.
da...@google.com <da...@google.com> #8
ap...@google.com <ap...@google.com> #9
Project: platform/frameworks/support
Branch: androidx-main
Author: Aurimas Liutikas <
Link:
Upgrade to Kotlin 2.1.0-RC2
Expand for full commit details
Upgrade to Kotlin 2.1.0-RC2
- Pin libs.kspApi to 2.0.10-1.0.24 as the next version targets Kotlin
2.0 and we dont want to force room, privacysandbox, and hilt to
require targeting Kotlin 2.0 just yet
- Move annotation-experimental to Kotlin 1.8 as 1.7 has been deprecated
- Update Compose compiler flags
- Update API files to match https://youtrack.jetbrains.com/issue/KT-68824
- Update ConstraintTest to account for new dependencyConstraint block
- Update OffsetInformationTest based on new Kotlinc output
- Removes kotlin.mpp.androidGradlePluginCompatibility.nowarn=true
that is no longer needed starting Kotlin 2.1.0, see
https://youtrack.jetbrains.com/issue/KT-69721
- Adjust AddLicenses code to the fact that outputFile is now a directory
instead of a zip file. Zip file is created by a separate task that
follows
- Remove MemoryModelTest as isExperimentalMM() is deprecated and always
returns true now
- Disable crashing room-gradle-plugin RoomKmpGradlePluginTest
- Make sure that Sbom tracking does not consider klib zip tasks as
embedding other libraries
Bug: 374360882
Relnote: N/A
Test: ./gradlew bOS --dry-run
./gradlew compose:runtime:runtime:build
Change-Id: I87e4035c46d8111f8eb0a60ce5ffe1f337b0296c
Files:
- M
annotation/annotation-experimental/build.gradle
- M
binarycompatibilityvalidator/binarycompatibilityvalidator/src/main/java/androidx/binarycompatibilityvalidator/KLibDumpParser.kt
- M
buildSrc-tests/src/test/java/androidx/build/SdkResourceGeneratorTest.kt
- M
buildSrc/private/src/main/kotlin/androidx/build/AndroidXComposeImplPlugin.kt
- M
buildSrc/private/src/main/kotlin/androidx/build/AndroidXMultiplatformExtension.kt
- M
buildSrc/private/src/main/kotlin/androidx/build/ListTaskOutputsTask.kt
- M
buildSrc/private/src/main/kotlin/androidx/build/clang/KonanBuildService.kt
- M
buildSrc/private/src/main/kotlin/androidx/build/license/AddLicenses.kt
- M
buildSrc/private/src/main/kotlin/androidx/build/sbom/Sbom.kt
- M
buildSrc/public/src/main/kotlin/androidx/build/AndroidXConfiguration.kt
- M
collection/collection/bcv/native/current.txt
- M
collection/collection/build.gradle
- D
collection/collection/src/nativeTest/kotlin/androidx/collection/internal/MemoryModelTest.kt
- M
compose/ui/ui-tooling-data/src/androidInstrumentedTest/kotlin/androidx/compose/ui/tooling/data/OffsetInformationTest.kt
- M
core/core/integration-tests/publishing/src/test/kotlin/androidx/build/ConstraintTest.kt
- M
development/build_log_simplifier/messages.ignore
- M
development/update_kotlin.sh
- M
gradle.properties
- M
gradle/libs.versions.toml
- M
paging/paging-common/bcv/native/current.txt
- M
playground-common/androidx-shared.properties
- M
room/room-compiler-processing/src/test/java/androidx/room/compiler/processing/KotlinMetadataTest.kt
- M
room/room-gradle-plugin/src/test/java/androidx/room/gradle/GradleTestUtils.kt
- M
room/room-gradle-plugin/src/test/java/androidx/room/gradle/RoomKmpGradlePluginTest.kt
- M
room/room-migration/bcv/native/current.txt
Hash: b90cd5d6e6ad71cb2c0557fc0ac7863f8ddf014a
Date: Wed Jul 17 18:58:36 2024
Description
Instructions
./gradlew :room:room-gradle-plugin:test
Expected
No crash
Actual
Crash
Notes
Able to repro locally