-
Notifications
You must be signed in to change notification settings - Fork 404
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
Issue 6981: Add publish maven when gradle version is greater or equal than 7.0 #6982
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: davideduma <david24eduma@gmail.com>
Add plublish maven when gradle version is greater or equal than 7.0
@davideduma |
@@ -60,12 +60,21 @@ plugins.withId('maven') { | |||
} | |||
} | |||
|
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.
we need to be moving to "maven-publish" plugin from Gradle 7 onwards right?(dont see that)
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.
Yes thats right. Here is code: |
Codecov ReportBase: 86.36% // Head: 86.38% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #6982 +/- ##
============================================
+ Coverage 86.36% 86.38% +0.01%
- Complexity 15927 15973 +46
============================================
Files 1027 1029 +2
Lines 59330 59368 +38
Branches 6001 6003 +2
============================================
+ Hits 51242 51283 +41
+ Misses 4954 4951 -3
Partials 3134 3134
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@davideduma Based on the referenced issue #6981 and 'maven-publish' links in the description of PR i am assuming its the latter. Locally when i move to Gradle 7.0(with your signing change), the first thing it fails at is gradle/gradle.java ( line 21) because 'maven' plugin is moved to 'maven-publish' from Gradle 7.0 onwards. If this PR is not about Gradle 7.0 changes, i believe there are many other changes we would need to do like these removals etc. |
Signed-off-by: davideduma <david24eduma@gmail.com>
Delete comments
Please update with the latest commit of this pull request and try again. The purpose of this pull request is to avoid the error when using a gradle version greater than or equal to 7.0 |
Only changing |
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.
Since this project using Gradle wrapper, I don't think that we should fix the issue like this.
If you're willing to use some good features in 7.x, bump the wrapper version and fix all errors. Otherwise, using the Gradle wrapper.
Signed-off-by: davideduma david24eduma@gmail.com
Tags:
@JhoanAlvear
@davideduma
Change log description
MavenDeployment deployment is deprecated.
Update come from: https://docs.gradle.org/current/userguide/publishing_maven.html
image
Purpose of the change
ISSUE: #6981
What the code does
Reemplace el código antiguo para actualizar el script. Sugerir documentos gradle.
https://docs.gradle.org/current/userguide/publishing_maven.html
How to verify it
Description about how to verify on the link below : #6981