-
Notifications
You must be signed in to change notification settings - Fork 4.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove deprecated CompileOptions.annotationProcessorGeneratedSourcesDirectory property #17105
base: master
Are you sure you want to change the base?
Conversation
…irectory property
# Conflicts: # subprojects/docs/src/docs/dsl/org.gradle.api.tasks.compile.CompileOptions.xml
AGP and KGP both used deprecated compile options, and needed to be upgraded. This caused the expected module and pom files used by this test to change significantly in several ways: 1) Kotlin version numbers needed bumping. 2) Less variants were present (for example - "metadataApiElements-published" gone from "kotlin-multiplatform-android-library-android-demo-1.0.module") 3) Names of existing variants changed (for example - "metadataApiElements-published" became "metadataApiElements" in "kotlin-multiplatform-library-1.0.module") 4) Variant had less attributes present (for example - "com.android.build.api.attributes.VarianttAttr" is gone) 5) Some new attributes present (for example - "artifactType = org.jetbrains.kotlin.klib") In addition, other properties in the Android extension were removed ("versionCode", "versionName"). But the biggest change necessary was in the comparison logic within this smoke test itself. The order of the dependencies present in GMM and POM files doesn't seem to be fixed. This causes the existing comparisons to fail unless corrected. This test now sorts the dependencies and then compares the results of sorting. Without this code, this test becomes flaky as the order of these nodes in the expected files needs to be changed to match...and then the next time you run the test, it needs to be changed BACK.
…sDirectory deprecations - Using Gradle 8.0 in expected warning until #21549 merges to master, then will update to 9.0.
7c134a8
to
60235f4
Compare
@gradle/bt-core - After updating this branch with the current state of master, I believe all the previous issues are resolved and it is ready to merge. |
OK, I've already triggered a build for you. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Docs LGTM
Pre-tested commit build failed. |
@bot-gradle test and merge |
OK, I've already triggered a build for you. |
Pre-tested commit build failed. |
Performance tests fail upon merge due to problems running sync with Android Studio on this generated performance test. The issue is the usage of This is blocked until that is changed in a newer version of Android Studio. |
@tresat we'll have to punt this to 9.0. We're not going to make it so Gradle 8.0 only works with the latest IntelliJ |
…irectory nag to 9.0 We are punting removal of this method to 9.0 since intellij uses it. See: #17105 Co-authored-by: Justin Van Dort <jvandort@gradle.com>
#15681