-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
79 lines (61 loc) · 1.61 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
buildscript {
repositories {
jcenter()
maven { url "http://repo.spring.io/libs-snapshot" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.4.RELEASE")
}
}
plugins {
id "fi.evident.beanstalk" version "0.0.5"
}
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'application'
apply plugin: 'war'
apply plugin: 'groovy'
def bn = 'clippy-platform'
def ver = '0.1.2'
jar {
baseName = bn
version = ver
}
war {
baseName = bn
version = ver
}
beanstalk {
profile = 'clippy-platform'
s3Endpoint = "s3-us-west-2.amazonaws.com"
beanstalkEndpoint = "elasticbeanstalk.us-west-2.amazonaws.com"
deployments {
production {
war = tasks.war
application = 'Clippy-platform'
environment = 'clippyPlatform-env'
}
}
}
repositories {
mavenCentral()
}
configurations {
providedRuntime
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.springframework.boot:spring-boot-starter-actuator")
providedRuntime('org.springframework.boot:spring-boot-starter-tomcat')
compile("org.springframework:spring-tx")
compile("org.springframework:spring-jdbc")
compile("org.dalesbred:dalesbred:1.0.0")
compile("org.hsqldb:hsqldb")
testCompile 'org.springframework:spring-test'
testCompile 'org.codehaus.groovy:groovy-all'
testCompile("org.spockframework:spock-spring:1.0-groovy-2.4")
testCompile("com.jayway.restassured:rest-assured:2.4.1")
}
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}