Skip to content

Commit

Permalink
Java 17 Support (#132)
Browse files Browse the repository at this point in the history
*  bump bytebuddy to 1.11.18
* add jdk 17 to travis
* add github actions
  • Loading branch information
dpsoft authored Sep 24, 2021
1 parent d9afef9 commit 5ba285c
Show file tree
Hide file tree
Showing 7 changed files with 30 additions and 33 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Test all the things

on: [push, pull_request]

jobs:
ci:
runs-on: ubuntu-latest
name: Java ${{ matrix.java }}
strategy:
matrix:
java: [ 8, 11, 17 ]
fail-fast: false
steps:
- uses: actions/checkout@v2
- name: Set up JDK ${{ matrix.java }}
uses: actions/cache@v2
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}
- uses: actions/setup-java@v1
with:
java-version: ${{ matrix.java }}
- name: Test
run: ./gradlew wrapper --gradle-version=7.2-20210715231856+0000 :agent:publishToMavenLocal && ./gradlew wrapper --gradle-version=7.2-20210715231856+0000 assemble && ./travis-test.sh

30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

4 changes: 2 additions & 2 deletions agent/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@ dependencies {

implementation 'org.tinylog:tinylog:1.3.6'
implementation 'com.github.tobiasrm:tinylog-coloredconsole:1.3.1'
implementation 'net.bytebuddy:byte-buddy-agent:1.11.1'
implementation 'net.bytebuddy:byte-buddy-agent:1.11.18'

implementation files('libs/byte-buddy-1.11.1.jar')
implementation files('libs/byte-buddy-1.11.18.jar')

testImplementation 'org.mockito:mockito-core:2.28.2'
testImplementation 'org.scalatest:scalatest_2.12:3.0.1'
Expand Down
Binary file removed agent/libs/byte-buddy-1.11.1.jar
Binary file not shown.
Binary file not shown.
Binary file added agent/libs/byte-buddy-1.11.18.jar
Binary file not shown.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version: 1.0.11
version: 1.0.12

0 comments on commit 5ba285c

Please sign in to comment.