style: gradle

This commit is contained in:
2024-02-28 17:34:26 +03:00
parent ff7f2b6df3
commit 791861b21a

View File

@@ -1,3 +1,5 @@
//file:noinspection GroovyAssignabilityCheck
//file:noinspection GrUnresolvedAccess
plugins {
id "java-library"
id "maven-publish"
@@ -24,17 +26,16 @@ repositories {
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}")
def junit5Version = "5.9.2"
testImplementation("org.junit.jupiter:junit-jupiter-api:$junit5Version")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:$junit5Version")
}
test {
useJUnitPlatform()
}
publishing {
publications {
publishing.publications {
mavenBinary(MavenPublication) {
groupId = project.group
artifactId = project.name
@@ -43,4 +44,3 @@ publishing {
from components.java
}
}
}