REMOVE:: removed the Client and Server folders from the src folder they were no longer necessary since everything now is in the GoGreen folder EDIT:: edited .gitignore file .gitignore file should now exclude the .idea and .gradle directories FIX:: fixed the gradle build file. had to set the main class, for testing purposes I set the GUI.logincontroller class as main class, but this will change
48 lines
1.0 KiB
Groovy
48 lines
1.0 KiB
Groovy
buildscript {
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:2.0.5.RELEASE")
|
|
}
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'eclipse'
|
|
apply plugin: 'idea'
|
|
apply plugin: 'org.springframework.boot'
|
|
apply plugin: 'io.spring.dependency-management'
|
|
apply plugin: 'jacoco'
|
|
apply plugin: 'checkstyle'
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
//client bootjar
|
|
bootJar {
|
|
baseName = 'gs-consuming-rest'
|
|
version = '0.1.0'
|
|
}
|
|
|
|
//server bootjar
|
|
bootJar {
|
|
baseName = 'gs-rest-service'
|
|
version = '0.1.0'
|
|
}
|
|
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
dependencies {
|
|
compile("org.springframework.boot:spring-boot-starter")
|
|
compile("org.springframework:spring-web")
|
|
compile("com.fasterxml.jackson.core:jackson-databind")
|
|
compile("org.springframework.boot:spring-boot-starter-web")
|
|
testCompile('org.springframework.boot:spring-boot-starter-test')
|
|
testCompile("junit:junit")
|
|
}
|
|
|
|
bootJar {
|
|
mainClassName = 'GUI.LoginController'
|
|
}
|