Modernize Gradle build infrastructure#6
Merged
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 from java-instrumentation-template to apache-axis2-instrumentation
- Update all module build.gradle files to use project.findProperty('java.agent.version')
- Add agent-bridge dependency to all modules
- Replace sourceCompatibility/targetCompatibility with Java toolchain
- Change passes to passesOnly, compile to implementation in verify blocks
- Widen axis2-kernel range to [1.4,1.5) since 1.4 and 1.4.1 have identical classes
- apache-axis2-2.0 module uses Java 17 toolchain
- Remove newrelic-dependencies.sh (no longer needed)
- Update release.yml: remove newrelic-dependencies.sh call, upgrade JDK to 21
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
java-instrumentation-templatetoapache-axis2-instrumentationproject.findProperty('java.agent.version')and addedagent-bridgedependencysourceCompatibility/targetCompatibilitywith Java toolchain (Java 8 default, Java 17 for axis2-2.0 module)passestopassesOnly,compiletoimplementationin verify blocks[1.4,1.5)since 1.4 and 1.4.1 have identical classesnewrelic-dependencies.sh(no longer needed with Maven resolution)Test plan
./gradlew clean build verifyInstrumentationpasses locally