Added debug arg on run.
This commit is contained in:
parent
7759e278e8
commit
fb05647b7b
1 changed files with 5 additions and 3 deletions
|
@ -19,8 +19,6 @@ final def packageName = 'net.thauvin.erik.mobibot'
|
||||||
final def deployDir = 'deploy'
|
final def deployDir = 'deploy'
|
||||||
final def semverProcessor = "net.thauvin.erik:semver:1.2.0"
|
final def semverProcessor = "net.thauvin.erik:semver:1.2.0"
|
||||||
|
|
||||||
mainClassName = packageName + '.Mobibot'
|
|
||||||
|
|
||||||
ext.versions = [
|
ext.versions = [
|
||||||
jacoco : '0.8.6',
|
jacoco : '0.8.6',
|
||||||
log4j : '2.14.0',
|
log4j : '2.14.0',
|
||||||
|
@ -79,6 +77,10 @@ java {
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
targetCompatibility = JavaVersion.VERSION_11
|
||||||
}
|
}
|
||||||
|
|
||||||
|
application {
|
||||||
|
mainClassName = packageName + '.Mobibot'
|
||||||
|
}
|
||||||
|
|
||||||
tasks.withType(JavaCompile) {
|
tasks.withType(JavaCompile) {
|
||||||
options.encoding = 'UTF-8'
|
options.encoding = 'UTF-8'
|
||||||
options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated/java")
|
options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated/java")
|
||||||
|
@ -142,7 +144,7 @@ clean {
|
||||||
}
|
}
|
||||||
|
|
||||||
run {
|
run {
|
||||||
//args '--v'
|
args '-d'
|
||||||
}
|
}
|
||||||
|
|
||||||
incrementBuildMeta {
|
incrementBuildMeta {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue