Skip to content

Fix warnings for Gradle 9#38927

Closed
cortinico wants to merge 1 commit into
facebook:mainfrom
cortinico:export-D48231760
Closed

Fix warnings for Gradle 9#38927
cortinico wants to merge 1 commit into
facebook:mainfrom
cortinico:export-D48231760

Conversation

@cortinico
Copy link
Copy Markdown
Contributor

Summary:
I've done a pass and fixed most of the warnings for Gradle 9:

  • project.buildDir is deprecated in favor of project.layout.buildDirectory
  • I've updated 3rd party Gradle Plugins that we depend on

There are still two warnings which are outside of our control:

  1. One is inside AGP and will be fixed with AGP 8.2 - Source https://issuetracker.google.com/issues/279306626
  2. Another one is inside nexus-publish and should ideally be fixed by 2.0 Gradle 8.2-milestone-1 The Project.getConvention() method has been deprecated. in Project.the() gradle/gradle#25206 Will bump the release once it's out

Changelog:
[Internal] [Changed] - Fix warnings for Gradle 9

Differential Revision: D48231760

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Aug 10, 2023
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D48231760

1 similar comment
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D48231760

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D48231760

@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D48231760

@analysis-bot
Copy link
Copy Markdown

analysis-bot commented Aug 11, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,946,221 +38
android hermes armeabi-v7a n/a --
android hermes x86 n/a --
android hermes x86_64 n/a --
android jsc arm64-v8a 9,540,100 +18
android jsc armeabi-v7a n/a --
android jsc x86 n/a --
android jsc x86_64 n/a --

Base commit: 8fa584f
Branch: main

Summary:
Pull Request resolved: facebook#38927

I've done a pass and fixed most of the warnings for Gradle 9:
- project.buildDir is deprecated in favor of project.layout.buildDirectory
- I've updated 3rd party Gradle Plugins that we depend on

There are still two warnings which are outside of our control:
1. One is inside AGP and will be fixed with AGP 8.2 - Source https://issuetracker.google.com/issues/279306626
2. Another one is inside nexus-publish and should ideally be fixed by 2.0 gradle/gradle#25206 Will bump the release once it's out

Changelog:
[Internal] [Changed] - Fix warnings for Gradle 9

Reviewed By: mdvacca

Differential Revision: D48231760

fbshipit-source-id: d6df387e16377aca8d09cbc3a3dc2c92e88802ef
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D48231760

@github-actions
Copy link
Copy Markdown

This pull request was successfully merged by @cortinico in 41af21b.

When will my fix make it into a release? | Upcoming Releases

@github-actions github-actions Bot added the Merged This PR has been merged. label Aug 11, 2023
yayvery pushed a commit to discord/react-native that referenced this pull request Jan 14, 2024
Summary:
Pull Request resolved: facebook#38927

I've done a pass and fixed most of the warnings for Gradle 9:
- project.buildDir is deprecated in favor of project.layout.buildDirectory
- I've updated 3rd party Gradle Plugins that we depend on

There are still two warnings which are outside of our control:
1. One is inside AGP and will be fixed with AGP 8.2 - Source https://issuetracker.google.com/issues/279306626
2. Another one is inside nexus-publish and should ideally be fixed by 2.0 gradle/gradle#25206 Will bump the release once it's out

Changelog:
[Internal] [Changed] - Fix warnings for Gradle 9

Reviewed By: mdvacca

Differential Revision: D48231760

fbshipit-source-id: 27d704324ea33cfc8aa0164fa437b80aab425960
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants