diff options
author | jbion <joffrey.bion@amadeus.com> | 2017-01-20 16:11:24 +0100 |
---|---|---|
committer | jbion <joffrey.bion@amadeus.com> | 2017-01-20 16:11:35 +0100 |
commit | b32cdf5c4f5d0b4f31b3bcfa64fe9328ed78d818 (patch) | |
tree | bdda009d448cb6b56415d90eae90eceb138318e4 /backend/build.gradle | |
parent | Merge remote-tracking branch 'origin/feature/front' (diff) | |
download | seven-wonders-b32cdf5c4f5d0b4f31b3bcfa64fe9328ed78d818.tar.gz seven-wonders-b32cdf5c4f5d0b4f31b3bcfa64fe9328ed78d818.tar.bz2 seven-wonders-b32cdf5c4f5d0b4f31b3bcfa64fe9328ed78d818.zip |
Move frontend and backend into 2 separate subprojects
Diffstat (limited to 'backend/build.gradle')
-rw-r--r-- | backend/build.gradle | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/backend/build.gradle b/backend/build.gradle new file mode 100644 index 00000000..61e8960b --- /dev/null +++ b/backend/build.gradle @@ -0,0 +1,44 @@ +buildscript { + repositories { + mavenCentral() + } + dependencies { + classpath 'org.springframework.boot:spring-boot-gradle-plugin:1.4.2.RELEASE' + } +} + +apply plugin: 'java' +apply plugin: 'idea' +apply plugin: 'org.springframework.boot' + +group 'org.luxons' +version '1.0-SNAPSHOT' + +sourceCompatibility = 1.8 + +repositories { + mavenCentral() +} + +dependencies { + compile 'com.google.code.gson:gson:2.8.0' + compile 'ch.qos.logback:logback-classic:1.1.8' + + compile 'org.springframework.boot:spring-boot-starter-websocket' + compile 'org.springframework.security:spring-security-core:4.2.0.RELEASE' + compile 'org.webjars:webjars-locator' + compile 'org.webjars:sockjs-client:1.0.2' + compile 'org.webjars:stomp-websocket:2.3.3' + compile 'org.webjars:bootstrap:3.3.7' + compile 'org.webjars:jquery:3.1.0' + + testCompile 'org.springframework.boot:spring-boot-starter-test' +} + +jar { + from('../frontend/dist') { + into 'static' + } +} + +jar.dependsOn(':frontend:assemble')
\ No newline at end of file |