-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
60 lines (44 loc) · 1.3 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
plugins {
id 'java'
id 'application'
id 'idea'
// Creates fat JAR
id 'com.github.johnrengelman.shadow' version '6.1.0'
}
def gradleDependencyVersion = '6.7'
wrapper {
gradleVersion = gradleDependencyVersion
distributionType = Wrapper.DistributionType.ALL
}
distZip.enabled = shadowDistZip.enabled = false
distTar.enabled = shadowDistTar.enabled = false
repositories {
jcenter()
mavenCentral()
maven { url "https://repo.gradle.org/gradle/libs-releases-local/" }
}
application {
// Required for shadow JAR but not used
mainClassName = 'not-applicable'
}
// Specify all of our dependency versions
def slf4jVersion = '1.7.30'
def gsonVersion = '2.8.6'
def cborVersion = '4.3.0'
def awsSdk2Version = '2.15.41'
def junitVersion = '4.13.1'
def awsLambdaJavaCoreVersion = '1.2.1'
description = """"""
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
dependencies {
compile "com.amazonaws:aws-lambda-java-core:$awsLambdaJavaCoreVersion"
compile "software.amazon.awssdk:iotdataplane:$awsSdk2Version"
compile "com.google.code.gson:gson:$gsonVersion"
compile "com.upokecenter:cbor:$cborVersion"
compile "org.slf4j:slf4j-log4j12:$slf4jVersion"
testCompile "junit:junit:$junitVersion"
}