Files
xml-element/build.gradle
2024-02-28 16:04:20 +03:00

47 lines
877 B
Groovy

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.1"
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
}
}
}