/
build.gradle.kts
81 lines (68 loc) · 2.87 KB
/
build.gradle.kts
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
plugins {
kotlin("jvm") version "1.4.30"
id("application")
id("java")
id("idea")
id("java-library")
id("maven")
}
group = "local"
version = "1.0-SNAPSHOT"
java.toolchain.languageVersion.set(JavaLanguageVersion.of(8))
val gradleDependencyVersion = "6.8.3"
tasks.wrapper {
gradleVersion = gradleDependencyVersion
distributionType = Wrapper.DistributionType.ALL
}
tasks.distZip { enabled = true }
tasks.distTar { enabled = true }
// Specify all of our dependency versions
val awsCdkVersion = "1.92.0"
val awsSdkVersion = "2.16.0"
val vavrVersion = "0.10.3"
val slf4jVersion = "2.0.0-alpha1"
val jcabiVersion = "0.19.0"
val commonsLangVersion = "3.11"
val commonsIoVersion = "2.8.0"
val ztZipVersion = "1.14"
val resultsIteratorForAwsJavaSdkVersion = "14.0.3"
val junitVersion = "4.13.2"
val autoServiceVersion = "1.0-rc7"
val javaPoetVersion = "1.13.0"
val immutablesValueVersion = "2.8.9-ea-1"
val awsLambdaJavaCoreVersion = "1.2.1"
val awsLambdaServletVersion = "0.2.4"
repositories {
mavenCentral()
maven(url = "https://repo.gradle.org/gradle/libs-releases-local/")
maven(url = "https://jitpack.io")
}
dependencies {
// Auto service code generation
annotationProcessor("com.google.auto.service:auto-service:$autoServiceVersion")
api("com.google.auto.service:auto-service-annotations:$autoServiceVersion")
// Immutables with JSON support
annotationProcessor("org.immutables:value:$immutablesValueVersion")
annotationProcessor("org.immutables:gson:$immutablesValueVersion")
implementation("org.immutables:value:$immutablesValueVersion")
implementation("org.immutables:gson:$immutablesValueVersion")
implementation("org.slf4j:slf4j-log4j12:$slf4jVersion")
implementation("com.jcabi:jcabi-log:$jcabiVersion")
implementation("software.amazon.awscdk:core:$awsCdkVersion")
api("software.amazon.awscdk:iam:$awsCdkVersion")
api("software.amazon.awscdk:sqs:$awsCdkVersion")
api("software.amazon.awscdk:iot:$awsCdkVersion")
api("software.amazon.awscdk:lambda:$awsCdkVersion")
api("software.amazon.awscdk:dynamodb:$awsCdkVersion")
api("software.amazon.awscdk:apigateway:$awsCdkVersion")
implementation("software.amazon.awssdk:apache-client:$awsSdkVersion")
implementation("io.vavr:vavr:$vavrVersion")
implementation("org.apache.commons:commons-lang3:$commonsLangVersion")
implementation("commons-io:commons-io:$commonsIoVersion")
implementation("com.github.awslabs:results-iterator-for-aws-java-sdk:$resultsIteratorForAwsJavaSdkVersion")
implementation("com.amazonaws:aws-lambda-java-core:$awsLambdaJavaCoreVersion")
api("com.github.aws-samples:aws-lambda-servlet:$awsLambdaServletVersion")
testImplementation("junit:junit:$junitVersion")
// To force dependabot to update the Gradle wrapper dependency
testImplementation("org.gradle:gradle-tooling-api:$gradleDependencyVersion")
}