build: переход на Gradle Kotlin DSL
This commit is contained in:
43
fluent-syntax/build.gradle.kts
Normal file
43
fluent-syntax/build.gradle.kts
Normal file
@@ -0,0 +1,43 @@
|
||||
plugins {
|
||||
java
|
||||
id("maven-publish")
|
||||
}
|
||||
|
||||
group = "ru.di9.fluent"
|
||||
version = "1.0-SNAPSHOT"
|
||||
|
||||
java.toolchain {
|
||||
languageVersion = JavaLanguageVersion.of(17)
|
||||
}
|
||||
|
||||
repositories {
|
||||
mavenLocal()
|
||||
mavenCentral()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
annotationProcessor(libs.lombok)
|
||||
compileOnly(libs.lombok)
|
||||
|
||||
testImplementation(libs.junit)
|
||||
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"])
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user