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