forked from wyTrivail/aocintegtest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
103 lines (77 loc) · 2.92 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
/*
* This file was generated by the Gradle 'init' task.
*
* This generated file contains a sample Java project to get you started.
* For more details take a look at the Java Quickstart chapter in the Gradle
* User Manual available at https://docs.gradle.org/6.5/userguide/tutorial_java_projects.html
*/
plugins {
// Apply the java plugin to add support for Java
id 'java'
// Apply the application plugin to add support for building a CLI application.
id 'application'
// lombok
id "io.freefair.lombok" version "5.1.0"
// check style
id 'checkstyle'
}
tasks.withType(Checkstyle) {
checkstyle {
toolVersion '8.33'
configFile = new File(rootDir, "src/main/resources/checkstyle.xml")
maxWarnings = 0
ignoreFailures = false
}
}
repositories {
// Use jcenter for resolving dependencies.
// You can declare any Maven/Ivy/file repository here.
jcenter()
maven {
url "http://dl.bintray.com/steppschuh/Markdown-Generator"
}
}
dependencies {
// This dependency is used by the application.
implementation 'com.google.guava:guava:29.0-jre'
// Use JUnit test framework
testImplementation 'junit:junit:4.13'
// log
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.7'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.7'
// command cli
compile 'info.picocli:picocli:4.3.2'
compileOnly 'info.picocli:picocli-codegen:4.3.2'
// aws sdk
implementation platform('com.amazonaws:aws-java-sdk-bom:1.11.811')
implementation 'com.amazonaws:aws-java-sdk-s3'
implementation 'com.amazonaws:aws-java-sdk-ec2'
implementation 'com.amazonaws:aws-java-sdk-iam'
implementation 'com.amazonaws:aws-java-sdk-cloudwatch'
implementation 'com.amazonaws:aws-java-sdk-xray'
implementation 'com.amazonaws:aws-java-sdk-ecs'
implementation 'com.amazonaws:aws-java-sdk-eks'
implementation 'com.amazonaws:aws-java-sdk-ssm'
testCompile group: 'junit', name: 'junit', version: '4.11'
// ssh
compile group: 'com.jcraft', name: 'jsch', version: '0.1.54'
// markdown
compile 'net.steppschuh.markdowngenerator:markdowngenerator:1.3.1.1'
// mustache template
compile group: 'com.github.spullara.mustache.java', name: 'compiler', version: '0.8.9'
// apache io utils
compile group: 'commons-io', name: 'commons-io', version: '2.4'
// yaml reader
compile group: 'com.fasterxml.jackson.dataformat', name: 'jackson-dataformat-yaml', version: '2.11.1'
// zip
implementation 'org.zeroturnaround:zt-zip:1.14'
// json reader
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.11.1'
}
compileJava {
options.compilerArgs += ["-Aproject=${project.group}/${project.name}"]
}
application {
// Define the main class for the application.
mainClassName = 'com.amazon.aocagent.App'
}