plugins { id 'java-library' } version = '0.1.4.1' repositories { mavenCentral() } dependencies { implementation 'io.github.classgraph:classgraph:4.8.184' api "org.json:json:20250107" api "org.jetbrains:annotations:23.1.0" testImplementation platform('org.junit:junit-bom:6.0.0') testImplementation 'org.junit.jupiter:junit-jupiter' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' } test { useJUnitPlatform() } java { toolchain { languageVersion.set(JavaLanguageVersion.of(javaVersion)) // Set Java version } }