From 7953d504094757372186079556201b1f0c89f92e Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Wed, 6 Mar 2019 10:53:59 +0100 Subject: [PATCH] ADD::Added build.gradle file in root combined the contents of the two gradle build files into one, and put it into the root directory. DELETE::removed pom.xml deleted the pom.xml file, since it was used for maven and we use gradle in our project --- .gradle/5.2.1/fileHashes/fileHashes.lock | Bin 0 -> 17 bytes .../buildOutputCleanup.lock | Bin 0 -> 17 bytes .gradle/buildOutputCleanup/cache.properties | 2 + .gradle/vcs-1/gc.properties | 0 build.gradle | 43 ++++++++++++++++++ settings.gradle | 1 + src/Client/.idea/checkstyle-idea.xml | 16 +++++++ 7 files changed, 62 insertions(+) create mode 100644 .gradle/5.2.1/fileHashes/fileHashes.lock create mode 100644 .gradle/buildOutputCleanup/buildOutputCleanup.lock create mode 100644 .gradle/buildOutputCleanup/cache.properties create mode 100644 .gradle/vcs-1/gc.properties create mode 100644 build.gradle create mode 100644 settings.gradle create mode 100644 src/Client/.idea/checkstyle-idea.xml diff --git a/.gradle/5.2.1/fileHashes/fileHashes.lock b/.gradle/5.2.1/fileHashes/fileHashes.lock new file mode 100644 index 0000000000000000000000000000000000000000..a52b897595f9fe5e435b2b0b20c2c8173397b85e GIT binary patch literal 17 ScmZQ(d7fd)nq%0&00jUcxB{*K literal 0 HcmV?d00001 diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock new file mode 100644 index 0000000000000000000000000000000000000000..31d8bd25d312476364fd67c8d0ae1163d150fa97 GIT binary patch literal 17 TcmZQ>TT_$KWcp2%0Rk8SF@Xc! literal 0 HcmV?d00001 diff --git a/.gradle/buildOutputCleanup/cache.properties b/.gradle/buildOutputCleanup/cache.properties new file mode 100644 index 0000000..33a22c2 --- /dev/null +++ b/.gradle/buildOutputCleanup/cache.properties @@ -0,0 +1,2 @@ +#Wed Mar 06 09:20:30 CET 2019 +gradle.version=5.2.1 diff --git a/.gradle/vcs-1/gc.properties b/.gradle/vcs-1/gc.properties new file mode 100644 index 0000000..e69de29 diff --git a/build.gradle b/build.gradle new file mode 100644 index 0000000..16fa58a --- /dev/null +++ b/build.gradle @@ -0,0 +1,43 @@ +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") +} \ No newline at end of file diff --git a/settings.gradle b/settings.gradle new file mode 100644 index 0000000..d579451 --- /dev/null +++ b/settings.gradle @@ -0,0 +1 @@ +rootProject.name = 'OOP Project' \ No newline at end of file diff --git a/src/Client/.idea/checkstyle-idea.xml b/src/Client/.idea/checkstyle-idea.xml new file mode 100644 index 0000000..ef7efd6 --- /dev/null +++ b/src/Client/.idea/checkstyle-idea.xml @@ -0,0 +1,16 @@ + + + + + + \ No newline at end of file