Fix build.gradle files
This commit is contained in:
38
build.gradle
38
build.gradle
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user