add: стабильная версия
This commit is contained in:
41
build.gradle
Normal file
41
build.gradle
Normal file
@@ -0,0 +1,41 @@
|
||||
plugins {
|
||||
id "java-library"
|
||||
id "maven-publish"
|
||||
}
|
||||
|
||||
wrapper {
|
||||
gradleVersion = "8.6"
|
||||
distributionType = Wrapper.DistributionType.BIN
|
||||
}
|
||||
|
||||
group = "ru.di9"
|
||||
version = "1.0"
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user