I need to duplicate this pdf-raeder in Kotlin, so I downloaded the pdfbox-app-2.0.17.jar from here and added it to my project structure as External Library
You weren’t using maven, but gradle. In any case, if you use gradle you use gradle. If you mean without maven repositories, it is possible to add libraries from a project relative folder.