Fix build.gradle files

This commit is contained in:
cugurlu
2019-03-16 14:06:46 +01:00
parent ad4e49f65c
commit 2b04ce2306
3 changed files with 29 additions and 26 deletions

View File

@@ -20,11 +20,9 @@ apply plugin: 'jacoco'
apply plugin: 'checkstyle'
apply plugin: 'application'
application {
mainClassName = 'greenify.client.Application'
}
//apply plugin: 'org.openjfx.javafxplugin'
//application {
// mainClassName = 'greenify.server.Application'
//}
tasks.withType(Checkstyle) {
reports {
@@ -36,16 +34,32 @@ repositories {
mavenCentral()
}
//client bootjar
bootJar {
baseName = 'gs-consuming-rest'
version = '0.1.0'
allprojects {
task hello {
doLast { task ->
println "I'm $task.project.name"
}
}
}
//server bootjar
////client bootjar
//bootJar {
// baseName = 'gs-consuming-rest'
// version = '0.1.0'
//}
//
////server bootjar
//bootJar {
// baseName = 'gs-rest-service'
// version = '0.1.0'
//}
bootJar {
baseName = 'gs-rest-service'
version = '0.1.0'
enabled = false
}
jar {
enabled = true
}
sourceCompatibility = 1.8