-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
46 lines (39 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
// Repositories to use for fetching build dependencies (not application dependencies)
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.github.jengelman.gradle.plugins:shadow:2.0.1'
}
}
apply plugin: 'com.github.johnrengelman.shadow'
apply plugin: 'java'
apply plugin: "groovy"
group = 'sondow'
version = '1.3.7'
description = """\
Uses AWS Lambda to tweet emoji aquarium pictures.
------------------------------------------
Project version: ${version}
Gradle version: ${gradle.gradleVersion}
------------------------------------------
"""
// Repositories to use for fetching application dependencies (not build dependencies)
repositories {
jcenter()
}
dependencies {
compile group: 'com.amazonaws', name: 'aws-lambda-java-core', version:'1.1.0'
compile group: 'org.twitter4j', name: 'twitter4j-core', version:'4.0.6'
testCompile group: 'junit', name: 'junit', version:'4.12'
// Allows setting environment variables in unit tests
testCompile group: 'com.github.stefanbirkner', name: 'system-rules', version:'1.16.0'
// Mandatory dependencies for using Spock
testCompile "org.codehaus.groovy:groovy-all:2.4.10"
testCompile "org.spockframework:spock-core:1.1-groovy-2.4"
// Optional dependencies for using Spock
testCompile "org.hamcrest:hamcrest-core:1.3" // only necessary if Hamcrest matchers are used
testRuntime "net.bytebuddy:byte-buddy:1.6.5" // allows mocking of classes (in addition to interfaces)
testRuntime "org.objenesis:objenesis:2.5.1" // allows mocking of classes without default constructor (together with CGLIB)
}