Skip to content

Commit

Permalink
Merge pull request #57 from vincejv/fix/native-compilation
Browse files Browse the repository at this point in the history
fix(native-image): add okhttp as explicit dependency for compile error
  • Loading branch information
vincejv authored May 1, 2023
2 parents 951000c + b543583 commit e54db01
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 @@ -82,6 +82,14 @@
<version>1.8.1</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 e54db01

Please sign in to comment.