plugins { id 'java' } java { toolchain { languageVersion.set(JavaLanguageVersion.of(17)) } } dependencies { implementation libs.ffi } test { useJUnitPlatform() }