forked from guylabs/angular-spring-data-rest-sample
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
37 lines (30 loc) · 894 Bytes
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath('org.springframework.boot:spring-boot-gradle-plugin:1.1.8.RELEASE')
}
}
apply plugin: 'java'
apply plugin: 'spring-boot'
apply plugin:'application'
mainClassName = "org.guylabs.angular.spring.data.rest.sample.Application"
jar {
baseName = 'angular-spring-data-rest-sample'
version = '0.1.0'
// add the generated grunt sources to the static folder such that Spring Boot
// exposes them correctly in the jar file
from("$buildDir/grunt/webapp") {
into "static"
}
}
repositories {
mavenCentral()
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-data-jpa")
compile("org.springframework.boot:spring-boot-starter-data-rest")
compile("com.h2database:h2")
}