ADD::tried to add application plugin to build.gradle
This commit is contained in:
23
build.gradle
23
build.gradle
@@ -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'
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user