diff --git a/build.gradle b/build.gradle index 55950b9..6b905f9 100644 --- a/build.gradle +++ b/build.gradle @@ -19,8 +19,6 @@ final def packageName = 'net.thauvin.erik.mobibot' final def deployDir = 'deploy' final def semverProcessor = "net.thauvin.erik:semver:1.2.0" -mainClassName = packageName + '.Mobibot' - ext.versions = [ jacoco : '0.8.6', log4j : '2.14.0', @@ -79,6 +77,10 @@ java { targetCompatibility = JavaVersion.VERSION_11 } +application { + mainClassName = packageName + '.Mobibot' +} + tasks.withType(JavaCompile) { options.encoding = 'UTF-8' options.annotationProcessorGeneratedSourcesDirectory = file("${projectDir}/src/generated/java") @@ -142,7 +144,7 @@ clean { } run { - //args '--v' + args '-d' } incrementBuildMeta {