Update build.gradle

This commit is contained in:
Ceren Ugurlu
2019-03-14 12:48:32 +00:00
parent a5b4a2e8f0
commit c07ea93176

View File

@@ -10,11 +10,6 @@ buildscript {
classpath("org.openjfx:javafx-plugin:0.0.7")
}
}
//plugins {
// id "org.openjfx.javafxplugin" version "0.0.7"
//}
apply plugin: 'java'
apply plugin: 'eclipse'
@@ -26,12 +21,9 @@ apply plugin: 'checkstyle'
apply plugin: 'application'
application {
mainClassName = 'gogreen.client.Application'
mainClassName = 'greenify.client.Application'
}
//apply plugin: 'org.openjfx.javafxplugin'
tasks.withType(Checkstyle) {
@@ -43,6 +35,7 @@ tasks.withType(Checkstyle) {
repositories {
mavenCentral()
}
//client bootjar
bootJar {
baseName = 'gs-consuming-rest'
@@ -69,7 +62,6 @@ dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
testCompile('org.springframework.boot:spring-boot-starter-test')
testCompile("junit:junit")
// compile project('src:Common')
compileOnly 'org.projectlombok:lombok:1.18.6'
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile("com.h2database:h2")
@@ -97,12 +89,6 @@ jacocoTestReport {
}
}
//bootJar {
// mainClassName = 'Client.Application'
//}
task application(type: JavaExec, dependsOn: classes) {
main = 'Cient.Application'
}