ADD::tried to add application plugin to build.gradle

This commit is contained in:
Sem van der Hoeven
2019-03-11 14:42:06 +01:00
parent aabe922f8f
commit a231b7374d

View File

@@ -14,6 +14,8 @@ buildscript {
// id "org.openjfx.javafxplugin" version "0.0.7"
//}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
@@ -21,6 +23,14 @@ apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
apply plugin: 'jacoco'
apply plugin: 'checkstyle'
apply plugin: 'application'
application {
mainClassName = 'gogreen.client.Application'
}
//apply plugin: 'org.openjfx.javafxplugin'
@@ -87,8 +97,17 @@ jacocoTestReport {
}
}
bootJar {
mainClassName = 'Client.Application'
//bootJar {
// mainClassName = 'Client.Application'
//}
task application(type: JavaExec, dependsOn: classes) {
main = 'Cient.Application'
}