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