-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·46 lines (38 loc) · 1.02 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
plugins {
id 'de.fuerstenau.buildconfig' version '1.1.8'
}
apply plugin: 'java'
apply plugin: 'idea'
group = "com.jonathanbullock.alexa.evertonfixtures"
version = '1.0.1'
compileJava {
targetCompatibility = JavaVersion.VERSION_1_8
sourceCompatibility = JavaVersion.VERSION_1_8
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
compile 'com.amazon.alexa:alexa-skills-kit:1.4.0'
compile 'com.amazonaws:aws-lambda-java-core:1.1.0'
compile 'com.amazonaws:aws-lambda-java-log4j:1.0.0'
compile 'commons-io:commons-io:2.4'
compile 'log4j:log4j:1.2.17'
compile 'org.slf4j:slf4j-api:1.7.10'
testCompile 'junit:junit:4.12'
}
buildConfig {
appName = project.name
version = project.version
buildConfigField 'String', 'APPLICATION_ID', APPLICATION_ID
buildConfigField 'String', 'REST_API_TOKEN', REST_API_TOKEN
}
task buildZip(type: Zip) {
from compileJava
from processResources
into('lib') {
from configurations.runtime
}
}
build.dependsOn buildZip