plugins { id "java-library" id "maven-publish" } wrapper { gradleVersion = "8.6" distributionType = Wrapper.DistributionType.BIN } compileJava { sourceCompatibility = targetCompatibility = JavaVersion.VERSION_17 options.encoding = "UTF-8" } group = "ru.di9" version = "1.2" repositories { mavenLocal() mavenCentral() } dependencies { api("it.unimi.dsi:fastutil:8.5.12") def junit5_version = "5.9.2" testImplementation("org.junit.jupiter:junit-jupiter-api:${junit5_version}") testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junit5_version}") } test { useJUnitPlatform() } publishing { publications { mavenBinary(MavenPublication) { groupId = project.group artifactId = project.name version = project.version from components.java } } }