Kubik/build.gradle

40 lines
850 B
Groovy

subprojects {
apply plugin: 'java'
apply plugin: 'java-library'
group = 'ru.dragonestia.kubik'
java {
toolchain {
languageVersion = JavaLanguageVersion.of(25)
}
}
tasks {
compileJava {
options.encoding = "UTF-8"
}
compileTestJava {
options.encoding = "UTF-8"
}
}
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.42'
annotationProcessor 'org.projectlombok:lombok:1.18.42'
testImplementation platform('org.junit:junit-bom:5.10.0')
testImplementation 'org.junit.jupiter:junit-jupiter'
testImplementation 'org.mockito:mockito-core:5.14.2'
}
test {
useJUnitPlatform()
}
}