-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Upgrade okhttp to 4.12.0 and okio to 3.6.0 - upgrade quarkus to 2.12.3 - fix native builds - Deprecate java 11 and add support for java 21 Signed-off-by: Spolti <filippespolti@gmail.com>
- Loading branch information
Showing
16 changed files
with
96 additions
and
77 deletions.
There are no files selected for viewing
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: ReBot CI - Native Java 17 | ||
|
||
on: pull_request | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Dependencies | ||
run: sudo apt-get install -y build-essential libz-dev zlib1g-dev | ||
- name: Set up JDK 17 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 17 | ||
- name: package | ||
run: -| | ||
mvn clean package --no-transfer-progress --file pom.xml -Pnative -Dmaven.javadoc.skip=true -Dquarkus.native.container-build=true -DskipTests -Dnet.bytebuddy.experimental=true | ||
|
This file was deleted.
Oops, something went wrong.
8 changes: 4 additions & 4 deletions
8
.github/workflows/pull-request-java-16.yml → .github/workflows/pull-request-java-21.yml
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
name: ReBot CI - Java 16 | ||
name: ReBot CI - Java 21 | ||
|
||
on: pull_request | ||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK 16 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v1 | ||
with: | ||
java-version: 16 | ||
java-version: 21 | ||
- name: Test with Maven | ||
run: mvn clean test --no-transfer-progress --file pom.xml -Dmaven.javadoc.skip=true | ||
run: mvn clean test --no-transfer-progress --file pom.xml -Dmaven.javadoc.skip=true -Dnet.bytebuddy.experimental=true | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
build = "mvn install -DskipTests -Dmaven.javadoc.skip=true" | ||
jdk11 = true | ||
jdk17 = true | ||
customTools = [ "https://help.sonatype.com/lift/files/78578763/78578764/1/1623180860953/pmd.sh rulesets/java/quickstart.xml" ] |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
-Dnet.bytebuddy.experimental=true |
This file contains 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
This file contains 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
This file contains 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
24 changes: 24 additions & 0 deletions
24
rebot-telegram/src/main/resources/META-INF/native-image/reflection-config.json
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
[ | ||
{ | ||
"name": "com.github.javaparser.symbolsolver.javaparsermodel.declarations.JavaParserTypeParameter", | ||
"allDeclaredMethods": true, | ||
"allDeclaredFields": true | ||
}, | ||
{ | ||
"name": "com.github.javaparser.ast.expr.ThisExpr", | ||
"methods": [ | ||
{ "name": "findAncestor", "parameterTypes": ["java.lang.Class"] } | ||
] | ||
}, | ||
{ | ||
"name": "com.github.javaparser.symbolsolver.javaparsermodel.JavaParserFacade", | ||
"allDeclaredMethods": true, | ||
"allDeclaredFields": true | ||
}, | ||
{ | ||
"name": "com.github.javaparser.ast.body.ConstructorDeclaration", | ||
"methods": [ | ||
{ "name": "findAncestor", "parameterTypes": ["java.lang.Class"] } | ||
] | ||
} | ||
] |
This file contains 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