Skip to content

Commit

Permalink
fix(native-image): add okhttp as dependency to fix compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
vincejv committed May 2, 2023
1 parent b14f0b3 commit edc3c04
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,14 @@
<version>1.3.5</version>
</dependency>

<!-- explicit declaration for native image fix -->
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<scope>compile</scope>
<optional>false</optional>
</dependency>

<dependency>
<groupId>com.github.pengrad</groupId>
<artifactId>java-telegram-bot-api</artifactId>
Expand Down

0 comments on commit edc3c04

Please sign in to comment.