34 lines
685 B
Groovy
34 lines
685 B
Groovy
import libs.LibsPlugin
|
|
|
|
subprojects {
|
|
apply plugin: 'java'
|
|
apply plugin: LibsPlugin
|
|
apply plugin: LogicPlugin
|
|
|
|
def publishScript = rootDir.toPath().resolve('publish.gradle').toFile()
|
|
if (publishScript.exists()) {
|
|
apply from: publishScript
|
|
}
|
|
|
|
project.group = projectGroup
|
|
project.version = moduleVersion
|
|
jar.archiveBaseName.set(moduleName)
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
mavenCentral()
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly libs.lombok
|
|
annotationProcessor libs.lombok
|
|
|
|
testImplementation libs.test.junit5
|
|
testImplementation libs.test.mock
|
|
}
|
|
|
|
test {
|
|
useJUnitPlatform()
|
|
}
|
|
}
|