-
Notifications
You must be signed in to change notification settings - Fork 59
/
Copy pathbuild.gradle.kts
52 lines (40 loc) · 1.43 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
plugins {
id("java")
id("application")
id("idea")
// Creates fat JAR
id("com.github.johnrengelman.shadow") version "7.1.2"
// Adds dependencyUpdates task
id("com.github.ben-manes.versions") version "0.42.0"
}
val gradleDependencyVersion = "7.2"
tasks.wrapper {
gradleVersion = gradleDependencyVersion
distributionType = Wrapper.DistributionType.ALL
}
application.mainClass.set("com.awslabs.aws.iot.resultsiterator.Example")
tasks.distZip { enabled = false }
tasks.distTar { enabled = false }
tasks.shadowDistZip { enabled = false }
tasks.shadowDistTar { enabled = false }
// Specify all of our dependency versions
val resultsIteratorForAwsJavaSdkVersion = "29.0.25"
val junitVersion = "4.13.2"
val awsSdk2Version = "2.17.291"
val vavrVersion = "0.10.4"
val jcabiVersion = "0.22.0"
group = "com.awslabs.aws.iot.resultsiterator.jitpack.Example"
version = "1.0-SNAPSHOT"
repositories {
mavenCentral()
maven(url = "https://repo.gradle.org/gradle/libs-releases-local/")
maven(url = "https://plugins.gradle.org/m2/")
maven(url = "https://jitpack.io")
}
dependencies {
implementation("com.github.awslabs:results-iterator-for-aws-java-sdk:$resultsIteratorForAwsJavaSdkVersion")
implementation("software.amazon.awssdk:iot:$awsSdk2Version")
implementation("io.vavr:vavr:$vavrVersion")
testImplementation("junit:junit:$junitVersion")
testImplementation("com.jcabi:jcabi-log:$jcabiVersion")
}