0
This repository has been archived on 2022-03-25. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ghast-tools/build.gradle

36 lines
824 B
Groovy

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
if (project.hasProperty('moduleVersion')) {
project.version = project.property('moduleVersion')
}
if (project.hasProperty('moduleName')) {
jar.archiveBaseName.set(project.property('moduleName') as String)
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compileOnly libs.lombok
annotationProcessor libs.lombok
testImplementation libs.test.junit5
testImplementation libs.test.mock
}
test {
useJUnitPlatform()
}
}