build: Modernize Gradle build infrastructure#2
Open
gsidhwani-nr wants to merge 1 commit into
Open
Conversation
- Replace root build.gradle with standardized template (verify plugin 4.0, Maven-based agent resolution)
- Create gradle.properties with java.agent.version=8.6.0
- Upgrade Gradle wrapper from 7.3 to 8.5
- Rename rootProject.name to apache-jackrabbit-instrumentation
- Update all modules to use project.findProperty('java.agent.version') and add agent-bridge
- Replace sourceCompatibility/targetCompatibility with Java toolchain
- Change passes to passesOnly with widened verified ranges:
- commons: [2.8.5,) exclude 2.9.0
- spi: [1.4,) exclude 2.9.0
- data: [2.9.1,)
- webdav: [2.8.5,) exclude 2.9.0
- Exclude 2.9.0 across all modules to prevent partial instrumentation
- Replace compile with implementation in verify blocks
- Remove newrelic-dependencies.sh
- Update release.yml: upgrade JDK to 21, comment out git push
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
apache-jackrabbit-instrumentationproject.findProperty('java.agent.version')and addedagent-bridgesourceCompatibility/targetCompatibilitywith Java toolchainpassestopassesOnlywith widened verified ranges and excluded 2.9.0 across all modules to prevent partial instrumentationcompilewithimplementationin verify blocksnewrelic-dependencies.shTest plan
./gradlew clean build verifyInstrumentationpasses locally