-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Deprecate space assignment syntax for Groovy #31424
Conversation
@bot-gradle test this |
This comment has been minimized.
This comment has been minimized.
The following builds have failed: |
033b613
to
3482f89
Compare
3482f89
to
f794530
Compare
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.
Great work! Thank you for fixing buildDir
uses along the way.
I must say, it would be significantly easier to review the PR if purely mechanical changes of adding =
without changing anything else were in a separate PR. The PR this big gave hard time to my browser.
❓ It looks like AGP has plenty of snippets that rely on the space-assignment syntax, for example, here. We might want to reach out to them.
There are some stylistic issues in public docs, that, I think, are worth addressing before merging. I'm less concerned about tests, though inconsistent use of uri(..)
and file(..)
gives me an itch. But the time to fix that is better spent elsewhere.
...-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java
Outdated
Show resolved
Hide resolved
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc
Outdated
Show resolved
Hide resolved
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc
Outdated
Show resolved
Hide resolved
platforms/documentation/docs/src/docs/userguide/releases/upgrading/upgrading_version_8.adoc
Show resolved
Hide resolved
...-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java
Outdated
Show resolved
Hide resolved
...egTest/groovy/org/gradle/api/publish/maven/MavenPublishArtifactCustomizationIntegTest.groovy
Outdated
Show resolved
Hide resolved
...n/src/integTest/groovy/org/gradle/api/publish/maven/MavenPublishPomPackagingIntegTest.groovy
Outdated
Show resolved
Hide resolved
...are/maven/src/test/groovy/org/gradle/api/publish/maven/plugins/MavenPublishPluginTest.groovy
Outdated
Show resolved
Hide resolved
testing/smoke-test/src/smokeTest/groovy/org/gradle/smoketests/NebulaPluginsSmokeTest.groovy
Outdated
Show resolved
Hide resolved
...e-test/src/smokeTest/resources/org/gradle/smoketests/android-kotlin-example/app/build.gradle
Outdated
Show resolved
Hide resolved
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.
I think we can move forward with that.
@@ -8,20 +8,20 @@ repositories { | |||
} | |||
|
|||
android { | |||
compileSdkVersion 30 | |||
compileSdkVersion = 30 |
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.
compileSdkVersion = 30 | |
compileSdk = 30 |
d7d0ef2
to
a5999d2
Compare
…d use layout where possible
a5999d2
to
2320428
Compare
Fixes: #31413
Note: the relevant commit is
The suppression for smoke-tested plugins is in
(SantaTracker, Build Scans, Nebula Plugin)
The last two commits are docs and tests changes.
Reviewing cheatsheet
Before merging the PR, comments starting with