57 lines
1.3 KiB
Groovy
57 lines
1.3 KiB
Groovy
plugins {
|
|
id("java")
|
|
id("maven-publish")
|
|
}
|
|
|
|
group = "ru.di9.fluent"
|
|
version = "1.0-SNAPSHOT"
|
|
|
|
java.toolchain {
|
|
languageVersion = JavaLanguageVersion.of(17)
|
|
}
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
assertjVersion = "3.24.2"
|
|
gsonVersion = "2.9.1"
|
|
joorVersion = "0.9.15"
|
|
jsonAssertVersion = "1.5.1"
|
|
junitVersion = "5.9.2"
|
|
lombokVersion = "1.18.30"
|
|
}
|
|
|
|
dependencies {
|
|
annotationProcessor("org.projectlombok:lombok:$lombokVersion")
|
|
compileOnly("org.projectlombok:lombok:$lombokVersion")
|
|
|
|
testImplementation(platform("org.junit:junit-bom:$junitVersion"))
|
|
testImplementation("org.junit.jupiter:junit-jupiter")
|
|
|
|
testAnnotationProcessor("org.projectlombok:lombok:$lombokVersion")
|
|
testCompileOnly("org.projectlombok:lombok:$lombokVersion")
|
|
testImplementation("org.assertj:assertj-core:$assertjVersion")
|
|
testImplementation("com.google.code.gson:gson:$gsonVersion")
|
|
testImplementation("org.jooq:joor:$joorVersion")
|
|
testImplementation("org.skyscreamer:jsonassert:$jsonAssertVersion")
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
|
|
publishing {
|
|
publications {
|
|
mavenBinary(MavenPublication) {
|
|
groupId = project.group
|
|
artifactId = project.name
|
|
version = project.version
|
|
|
|
from components.java
|
|
}
|
|
}
|
|
}
|