47 lines
947 B
Plaintext
47 lines
947 B
Plaintext
plugins {
|
|
java
|
|
id("maven-publish")
|
|
}
|
|
|
|
group = "ru.di9.fluent"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
java.toolchain {
|
|
languageVersion = JavaLanguageVersion.of(21)
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
annotationProcessor(libs.lombok)
|
|
compileOnly(libs.lombok)
|
|
|
|
testImplementation(platform(libs.junit.platform))
|
|
testImplementation(libs.junit.jupiter)
|
|
testRuntimeOnly(libs.junit.launcher)
|
|
|
|
testAnnotationProcessor(libs.lombok)
|
|
testCompileOnly(libs.lombok)
|
|
testImplementation(libs.assertj)
|
|
testImplementation(libs.gson)
|
|
testImplementation(libs.joor)
|
|
testImplementation(libs.jsonassert)
|
|
}
|
|
|
|
tasks.withType<Test> {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
publishing.publications {
|
|
create<MavenPublication>("mavenBinary") {
|
|
groupId = project.group.toString()
|
|
artifactId = project.name
|
|
version = project.version.toString()
|
|
|
|
from(components["java"])
|
|
}
|
|
}
|