-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
34 lines (27 loc) · 1018 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
apply plugin: 'java'
apply plugin: 'application'
archivesBaseName = ""
version = '1.0'
mainClassName = "App"
repositories {
mavenCentral()
}
dependencies {
compile group: 'com.sparkjava', name: 'spark-core', version: '2.3'
compile group: 'org.apache.velocity', name: 'velocity', version: '1.7'
compile group: 'org.apache.commons', name: 'commons-email', version: '1.4'
testCompile group: 'junit', name: 'junit', version: '4.+'
testCompile group: 'org.fluentlenium', name: 'fluentlenium-core', version: '0.10.3'
testCompile group: 'org.fluentlenium', name: 'fluentlenium-assertj', version: '0.10.3'
}
run {
//prompt for password
def pass = System.console().readPassword("\nPlease enter password for [email protected]: ")
//convert password to string
pass = new String(pass)
//prompt for service delay
def delay = System.console().readLine("Please enter amount of minutes to delay before sending messages: ")
//convert password to string
delay = new String(delay)
args pass, delay
}