50 lines
1.2 KiB
Groovy
50 lines
1.2 KiB
Groovy
plugins {
|
|
alias(libs.plugins.asciidoctorConvention)
|
|
alias(libs.plugins.applicationConvention)
|
|
alias(libs.plugins.libraryConvention)
|
|
id "org.sonarqube" version "4.0.0.2929"
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
mavenLocal()
|
|
}
|
|
|
|
dependencies {
|
|
implementation libs.slf4j
|
|
implementation libs.commonscli
|
|
testImplementation libs.junit
|
|
implementation libs.bundles.logback
|
|
spotbugsPlugins 'com.h3xstream.findsecbugs:findsecbugs-plugin:1.12.0'
|
|
}
|
|
|
|
final MAIN_CLASS_NAME = 'de.thpeetz.generations.App'
|
|
|
|
java {
|
|
//sourceCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
application {
|
|
mainClass = MAIN_CLASS_NAME
|
|
}
|
|
|
|
jar {
|
|
manifest {
|
|
attributes 'Implementation-Title': 'Generations Application', 'Implementation-Version': archiveVersion, 'Main-Class': MAIN_CLASS_NAME
|
|
}
|
|
}
|
|
|
|
sonar {
|
|
properties {
|
|
property "sonar.projectKey", "tpeetz_generations_AYB--ei2Uw4Nr911AV3u"
|
|
property "sonar.qualitygate.wait", true
|
|
property "sonar.host.url", "https://sonar.thpeetz.de"
|
|
property "sonar.token", "squ_c05f5c2a7c2b7f6bf43769eebb9162b484c7edb6"
|
|
property "sonar.sourceEncoding", "UTF-8"
|
|
}
|
|
}
|
|
|
|
wrapper {
|
|
gradleVersion = libs.versions.gradle.get()
|
|
}
|