File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 THIRD_PARTY_GIT_AUTHOR_EMAIL : opensource+bot@newrelic.com
1111 THIRD_PARTY_GIT_AUTHOR_NAME : nr-opensource-bot
1212
13+ permissions :
14+ contents : write
15+
1316jobs :
1417 build-and-release :
1518 runs-on : ubuntu-latest
2427 - name : Set up JDK 17
2528 uses : actions/setup-java@v3
2629 with :
27- java-version : 17
30+ java-version : 21
2831 distribution : ' temurin'
2932
3033
3841
3942 - name : Build with Gradle and verifyInstrumentation
4043 run : |
41- . ./newrelic-dependencies.sh
4244 ./gradlew clean install verifyInstrumentation
4345
4446 - name : Identify Release Type
@@ -114,7 +116,7 @@ jobs:
114116
115117 - name : Create Release
116118 id : create_release
117- uses : actions/github-script@v6
119+ uses : actions/github-script@v7
118120 with :
119121 github-token : ${{ secrets.OPENSOURCE_BOT_TOKEN }}
120122 script : |
@@ -184,7 +186,7 @@ jobs:
184186 git commit -m "Update Changelog for Release [skip ci]"
185187
186188 # Push the changes to the remote repository
187- # git push --quiet --set-upstream origin HEAD
189+ # # git push --quiet --set-upstream origin HEAD
188190
189191 - name : Get Compare URL
190192 run : |
@@ -194,7 +196,7 @@ jobs:
194196
195197 - name : Update Release
196198 id : update_release
197- uses : actions/github-script@v6
199+ uses : actions/github-script@v7
198200 with :
199201 github-token : ${{ secrets.OPENSOURCE_BOT_TOKEN }}
200202 script : |
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ dependencies {
77 implementation group : ' io.vertx' , name : ' vertx-mongo-client' , version : ' 3.5.3'
88
99 // New Relic Labs Java Agent dependencies
10- implementation ' com.newrelic.agent.java:newrelic-agent:6.4.1 '
11- implementation ' com.newrelic.agent.java:newrelic-api:6.4.1 '
12- implementation fileTree( include : [ ' *.jar ' ], dir : ' ../libs ' )
10+ implementation ' com.newrelic.agent.java:newrelic-agent:' + project . findProperty( ' java.agent.version ' )
11+ implementation ' com.newrelic.agent.java:newrelic-api:' + project . findProperty( ' java.agent.version ' )
12+ implementation ' com.newrelic.agent.java:agent-bridge: ' + project . findProperty( ' java.agent.version ' )
1313}
1414
1515jar {
Original file line number Diff line number Diff line change @@ -5,11 +5,11 @@ apply plugin: 'java'
55
66dependencies {
77 implementation ' io.vertx:vertx-core:3.6.0'
8- implementation fileTree( include : [ ' *.jar ' ], dir : ' ../libs ' )
8+ implementation ' com.newrelic.agent.java:agent-bridge: ' + project . findProperty( ' java.agent.version ' )
99
1010 // New Relic Labs Java Agent dependencies
11- implementation ' com.newrelic.agent.java:newrelic-agent:6.4.1 '
12- implementation ' com.newrelic.agent.java:newrelic-api:6.4.1 '
11+ implementation ' com.newrelic.agent.java:newrelic-agent:' + project . findProperty( ' java.agent.version ' )
12+ implementation ' com.newrelic.agent.java:newrelic-api:' + project . findProperty( ' java.agent.version ' )
1313
1414
1515 testImplementation ' junit:junit:4.12'
3030
3131verifyInstrumentation {
3232 passesOnly (' io.vertx:vertx-core:[3.6.0,3.7.1)' ) {
33- compile (' com.newrelic.agent.java:newrelic-agent:6.4.0' )
33+ implementation (' com.newrelic.agent.java:newrelic-agent:6.4.0' )
3434 }
3535 excludeRegex ' .*SNAPSHOT.*'
3636 excludeRegex ' .*milestone.*'
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ dependencies {
88
99
1010 // New Relic Labs Java Agent dependencies
11- implementation ' com.newrelic.agent.java:newrelic-agent:6.4.1 '
12- implementation ' com.newrelic.agent.java:newrelic-api:6.4.1 '
11+ implementation ' com.newrelic.agent.java:newrelic-agent:' + project . findProperty( ' java.agent.version ' )
12+ implementation ' com.newrelic.agent.java:newrelic-api:' + project . findProperty( ' java.agent.version ' )
1313
14- implementation fileTree( include : [ ' *.jar ' ], dir : ' ../libs ' )
14+ implementation ' com.newrelic.agent.java:agent-bridge: ' + project . findProperty( ' java.agent.version ' )
1515
1616 testImplementation ' junit:junit:4.12'
1717 testImplementation ' org.nanohttpd:nanohttpd:2.3.1'
3131
3232verifyInstrumentation {
3333 passesOnly (' io.vertx:vertx-core:[3.7.1,3.8.0)' ) {
34- compile (' com.newrelic.agent.java:newrelic-agent:6.4.0' )
34+ implementation (' com.newrelic.agent.java:newrelic-agent:6.4.0' )
3535 }
3636 excludeRegex ' .*SNAPSHOT'
3737 excludeRegex ' .*milestone.*'
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ dependencies {
77 implementation ' io.vertx:vertx-core:3.8.0'
88
99 // New Relic Labs Java Agent dependencies
10- implementation ' com.newrelic.agent.java:newrelic-agent:6.4.0 '
11- implementation ' com.newrelic.agent.java:newrelic-api:6.4.0 '
10+ implementation ' com.newrelic.agent.java:newrelic-agent:' + project . findProperty( ' java.agent.version ' )
11+ implementation ' com.newrelic.agent.java:newrelic-api:' + project . findProperty( ' java.agent.version ' )
1212
13- implementation fileTree( include : [ ' *.jar ' ], dir : ' ../libs ' )
13+ implementation ' com.newrelic.agent.java:agent-bridge: ' + project . findProperty( ' java.agent.version ' )
1414
1515 testImplementation ' junit:junit:4.12'
1616 testImplementation ' org.nanohttpd:nanohttpd:2.3.1'
2929
3030verifyInstrumentation {
3131 passesOnly (' io.vertx:vertx-core:[3.8.0,4.0.0)' ) {
32- compile (' com.newrelic.agent.java:newrelic-agent:6.4.0' )
32+ implementation (' com.newrelic.agent.java:newrelic-agent:6.4.0' )
3333 }
3434 excludeRegex ' .*SNAPSHOT'
3535 excludeRegex ' .*milestone.*'
Original file line number Diff line number Diff line change @@ -7,10 +7,10 @@ dependencies {
77 implementation ' io.vertx:vertx-core:4.0.0'
88
99 // New Relic Labs Java Agent dependencies
10- implementation ' com.newrelic.agent.java:newrelic-agent:6.4.0 '
11- implementation ' com.newrelic.agent.java:newrelic-api:6.4.0 '
10+ implementation ' com.newrelic.agent.java:newrelic-agent:' + project . findProperty( ' java.agent.version ' )
11+ implementation ' com.newrelic.agent.java:newrelic-api:' + project . findProperty( ' java.agent.version ' )
1212
13- implementation fileTree( include : [ ' *.jar ' ], dir : ' ../libs ' )
13+ implementation ' com.newrelic.agent.java:agent-bridge: ' + project . findProperty( ' java.agent.version ' )
1414
1515 testImplementation ' junit:junit:4.12'
1616 testImplementation ' org.nanohttpd:nanohttpd:2.3.1'
2929
3030verifyInstrumentation {
3131 passesOnly (' io.vertx:vertx-core:[4.0.0,4.2.2)' ) {
32- compile (' com.newrelic.agent.java:newrelic-agent:6.4.0' )
32+ implementation (' com.newrelic.agent.java:newrelic-agent:6.4.0' )
3333 }
3434 excludeRegex ' .*SNAPSHOT'
3535 excludeRegex ' .*milestone.*'
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ dependencies {
77 implementation ' io.vertx:vertx-core:4.2.2'
88
99 // New Relic Labs Java Agent dependencies
10- implementation ' com.newrelic.agent.java:newrelic-agent:6.4.0 '
11- implementation ' com.newrelic.agent.java:newrelic-api:6.4.0 '
12- implementation fileTree( include : [ ' *.jar ' ], dir : ' ../libs ' )
10+ implementation ' com.newrelic.agent.java:newrelic-agent:' + project . findProperty( ' java.agent.version ' )
11+ implementation ' com.newrelic.agent.java:newrelic-api:' + project . findProperty( ' java.agent.version ' )
12+ implementation ' com.newrelic.agent.java:agent-bridge: ' + project . findProperty( ' java.agent.version ' )
1313
1414 testImplementation ' junit:junit:4.12'
1515 testImplementation ' org.nanohttpd:nanohttpd:2.3.1'
2929
3030verifyInstrumentation {
3131 passes (' io.vertx:vertx-core:[4.2.2,4.3.2)' ) {
32- compile (' com.newrelic.agent.java:newrelic-agent:6.4.0' )
32+ implementation (' com.newrelic.agent.java:newrelic-agent:6.4.0' )
3333 }
3434 excludeRegex ' .*SNAPSHOT'
3535 excludeRegex ' .*milestone.*'
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ dependencies {
77 implementation ' io.vertx:vertx-core:4.3.2'
88
99 // New Relic Labs Java Agent dependencies
10- implementation ' com.newrelic.agent.java:newrelic-agent:6.4.0 '
11- implementation ' com.newrelic.agent.java:newrelic-api:6.4.0 '
12- implementation fileTree( include : [ ' *.jar ' ], dir : ' ../libs ' )
10+ implementation ' com.newrelic.agent.java:newrelic-agent:' + project . findProperty( ' java.agent.version ' )
11+ implementation ' com.newrelic.agent.java:newrelic-api:' + project . findProperty( ' java.agent.version ' )
12+ implementation ' com.newrelic.agent.java:agent-bridge: ' + project . findProperty( ' java.agent.version ' )
1313
1414 testImplementation ' junit:junit:4.12'
1515 testImplementation ' org.nanohttpd:nanohttpd:2.3.1'
2929
3030verifyInstrumentation {
3131 passesOnly (' io.vertx:vertx-core:[4.3.2,4.5.0)' ) {
32- compile (' com.newrelic.agent.java:newrelic-agent:6.4.0' )
32+ implementation (' com.newrelic.agent.java:newrelic-agent:6.4.0' )
3333 }
3434 excludeRegex ' .*SNAPSHOT'
3535 excludeRegex ' .*milestone.*'
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ dependencies {
77 implementation ' io.vertx:vertx-core:4.5.1'
88
99 // New Relic Java Agent dependencies
10- implementation ' com.newrelic.agent.java:newrelic-agent:6.4.0 '
11- implementation ' com.newrelic.agent.java:newrelic-api:6.4.0 '
12- implementation fileTree( include : [ ' *.jar ' ], dir : ' ../libs ' )
10+ implementation ' com.newrelic.agent.java:newrelic-agent:' + project . findProperty( ' java.agent.version ' )
11+ implementation ' com.newrelic.agent.java:newrelic-api:' + project . findProperty( ' java.agent.version ' )
12+ implementation ' com.newrelic.agent.java:agent-bridge: ' + project . findProperty( ' java.agent.version ' )
1313
1414 testImplementation ' junit:junit:4.12'
1515 testImplementation ' org.nanohttpd:nanohttpd:2.3.1'
Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ dependencies {
77 implementation ' io.vertx:vertx-core:4.5.0'
88
99 // New Relic Java Agent dependencies
10- implementation ' com.newrelic.agent.java:newrelic-agent:6.4.0 '
11- implementation ' com.newrelic.agent.java:newrelic-api:6.4.0 '
12- implementation fileTree( include : [ ' *.jar ' ], dir : ' ../libs ' )
10+ implementation ' com.newrelic.agent.java:newrelic-agent:' + project . findProperty( ' java.agent.version ' )
11+ implementation ' com.newrelic.agent.java:newrelic-api:' + project . findProperty( ' java.agent.version ' )
12+ implementation ' com.newrelic.agent.java:agent-bridge: ' + project . findProperty( ' java.agent.version ' )
1313
1414 testImplementation ' junit:junit:4.12'
1515 testImplementation ' org.nanohttpd:nanohttpd:2.3.1'
2929
3030verifyInstrumentation {
3131 passesOnly (' io.vertx:vertx-core:[4.5.0]' ) {
32- compile (' com.newrelic.agent.java:newrelic-agent:6.5.0' )
32+ implementation (' com.newrelic.agent.java:newrelic-agent:6.5.0' )
3333 }
3434 excludeRegex ' .*SNAPSHOT'
3535 excludeRegex ' .*milestone.*'
You can’t perform that action at this time.
0 commit comments