-
Notifications
You must be signed in to change notification settings - Fork 261
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
Gradle Build #3370
Comments
Signed-off-by: Nigel Jones <[email protected]>
Added azure pipeline scripts for:
In both cases artifacts are not saved (yet) and the same build limitations as above apply. However it will help to ensure the gradle build keeps better aligned with any maven build changes, and keep an independent perspective on build quality. |
Initial gradeline pipeline for azure #3370
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 20 days if no further activity occurs. Thank you for your contributions. |
Signed-off-by: Nigel Jones <[email protected]>
#3370 add build of server chassis spring boot app
Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: Nigel Jones <[email protected]>
Assemblies now added |
Signed-off-by: Nigel Jones <[email protected]>
Current deprecations to fix:
|
Signed-off-by: Nigel Jones <[email protected]>
Deprecations fixed.. plus the build will now fail if deprecated function is used. |
Signed-off-by: Nigel Jones <[email protected]>
… in IntelliJ Signed-off-by: Nigel Jones <[email protected]>
…ts/samples, to match current maven distribution Signed-off-by: Nigel Jones <[email protected]>
…nly) Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: Nigel Jones <[email protected]>
…sts were skipped (gradle) Signed-off-by: Nigel Jones <[email protected]>
#3370 Use traditional class pattern scanning for testNG - some tests …
#3370 fix some gradle dependency errors
Note on dependency resolution - see https://docs.gradle.org/current/userguide/resolution_strategy_tuning.html#sec:java_consistency for one approach to maintain consistency between compile & runtime dependency graphs |
In the community face to face 5-7 October 2022, it was agreed that we should continue to aim to complete this for release 4.x and look to apply this across all repositories (any old/stable repos we might leave?) |
Tips on maven->gradle migration, and equiv actions -> https://lmy.medium.com/how-to-convert-a-maven-project-to-gradle-in-real-life-2e3d5ee08650 |
Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: Nigel Jones <[email protected]>
Signed-off-by: Nigel Jones <[email protected]>
See #7007 for first pass to create maven artifacts |
Summary of differences in which artifacts are created maven vs gradle Not in the gradle build These are not present as they are 'packaging' poms, but were driven by the directory structure rather than a specific client use requirement for maven. In the gradle build we do have the artifact with only a pom - but no jar/sources/javadoc. This may fail maven central validation. In maven we padded them with 0 length jars. Since these add no 'value' I think they should be removed
The following components are omitting source/javadoc in the gradle build
Extra components in the gradle build
Present as gradle produced maven artifacts, but not in the maven build ...
Build warnings
|
May be useful to analyze gradle build performance/reliability. -> https://janbarari.github.io/gradle-analytics-plugin/ |
Will revisit this after Mon 6 Feb when we fully switch main over (see #7330) |
Post-7330 the main checks will be
|
Re: the observations above
The remaining issue is spdx headers, which is already tracked by #6992 Closing |
Ignore the 'current status' here & refer to update towards the end of this issue posted 9 June 2021
What is Gradle?
Specific pain points / Issues with Maven
Benefits to look at with gradle
Comparison articles
Other build tools
What work is being done?
FEEDBACK is very helpful. Feel free to comment below & contribute to discussion and code.
Running the gradle build
./gradlew build
gradle.bat build
Current Status
This is a list of the areas currently being explored. Note that a tick may mean coded in a fork and not yet in master
Basic gradle build
Build publishing
Address missing or failing components
Dependency Management
Build quality tools
Checks
Documentation
The text was updated successfully, but these errors were encountered: