The dependency transitively includes the used Kotlin Stdlib version, which is required as PocketKnife is written entirely in Kotlin.
Add JitPack as a repository
maven { url 'https://jitpack.io' }
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
Add the dependency
implementation 'com.github.axelrindle:PocketKnife:v1.2.1'
<dependency>
<groupId>com.github.axelrindle</groupId>
<artifactId>PocketKnife</artifactId>
<version>v1.2.1</version>
</dependency>