style: gradle
This commit is contained in:
12
build.gradle
12
build.gradle
@@ -1,3 +1,5 @@
|
|||||||
|
//file:noinspection GroovyAssignabilityCheck
|
||||||
|
//file:noinspection GrUnresolvedAccess
|
||||||
plugins {
|
plugins {
|
||||||
id "java-library"
|
id "java-library"
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
@@ -24,17 +26,16 @@ repositories {
|
|||||||
dependencies {
|
dependencies {
|
||||||
api("it.unimi.dsi:fastutil:8.5.12")
|
api("it.unimi.dsi:fastutil:8.5.12")
|
||||||
|
|
||||||
def junit5_version = "5.9.2"
|
def junit5Version = "5.9.2"
|
||||||
testImplementation("org.junit.jupiter:junit-jupiter-api:${junit5_version}")
|
testImplementation("org.junit.jupiter:junit-jupiter-api:$junit5Version")
|
||||||
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:${junit5_version}")
|
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:$junit5Version")
|
||||||
}
|
}
|
||||||
|
|
||||||
test {
|
test {
|
||||||
useJUnitPlatform()
|
useJUnitPlatform()
|
||||||
}
|
}
|
||||||
|
|
||||||
publishing {
|
publishing.publications {
|
||||||
publications {
|
|
||||||
mavenBinary(MavenPublication) {
|
mavenBinary(MavenPublication) {
|
||||||
groupId = project.group
|
groupId = project.group
|
||||||
artifactId = project.name
|
artifactId = project.name
|
||||||
@@ -42,5 +43,4 @@ publishing {
|
|||||||
|
|
||||||
from components.java
|
from components.java
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user