apply plugin: 'java' dependencies { implementation "com.badlogicgames.gdx:gdx-jnigen:$gdxVersion" } sourceSets { main.java.srcDirs = ['src'] }