-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
41 lines (36 loc) · 885 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
37
38
39
40
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath group: 'org.cloudfoundry', name: 'cf-gradle-plugin', version: '1.0.2'
}
}
apply plugin: 'cloudfoundry'
task wrapper(type: Wrapper) {
gradleVersion = '1.11'
}
defaultTasks 'cf-push'
cloudfoundry {
target = 'https://api.run.pivotal.io'
space = 'production'
buildpack = 'https://github.com/cloudfoundry/java-buildpack'
username = cfusername
password = cfpassword
application = "tradepr"
file = file("server-0.7.14.war")
uris = ['http://tradepr.cfapps.io', 'http://tradepr.webninjapr.com']
memory = 1280
instances = 1
env = [
"JAVA_OPTS": " -Duser.timezone=GMT-4:00",
"JDBC_CONNECTION_STRING": tradeprMysqlStringG
]
serviceInfos {
'newrelic-prod' {
label = 'newrelic'
plan = 'standard'
bind = true
}
}
}