forked from cosmo0920/embulk-input-cloudwatch_logs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
64 lines (54 loc) · 1.75 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
plugins {
id "java"
id "checkstyle"
id "org.embulk.embulk-plugins" version "0.7.0"
id "com.palantir.git-version" version "3.1.0"
}
repositories {
mavenCentral()
}
group = "trocco-io"
version = {
def vd = versionDetails()
if (vd.commitDistance == 0 && vd.lastTag ==~ /^[0-9]+\.[0-9]+\.[0-9]+([.-][.a-zA-Z0-9-]+)?/) {
vd.lastTag
} else {
"0.0.0.${vd.gitHash}"
}
}()
description = "Loads records from Cloudwatch Logs."
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
configurations {
compileClasspath.resolutionStrategy.activateDependencyLocking()
runtimeClasspath.resolutionStrategy.activateDependencyLocking()
}
dependencies {
compileOnly "org.embulk:embulk-spi:0.11"
implementation "org.embulk:embulk-util-config:0.3.4"
implementation "com.google.guava:guava:28.2-jre"
implementation "com.amazonaws:aws-java-sdk-logs:1.11.1034"
implementation "com.amazonaws:aws-java-sdk-sts:1.11.1034"
testImplementation "junit:junit:4.+"
testImplementation "org.mockito:mockito-core:1.+"
testImplementation "org.embulk:embulk-core:0.11.5"
testImplementation "org.embulk:embulk-deps:0.11.5"
testImplementation "org.embulk:embulk-junit4:0.11.5"
}
tasks.withType(JavaCompile).configureEach {
options.compilerArgs << "-Xlint:all" << "-Xlint:-serial"
}
embulkPlugin {
mainClass = "org.embulk.input.cloudwatch_logs.CloudwatchLogsInputPlugin"
category = "input"
type = "cloudwatch_logs"
}
gem {
authors = [ "Hiroshi Hatake" ]
email = [ "[email protected]" ]
summary = "Cloudwatch Logs input plugin for Embulk"
homepage = "https://github.com/trocco-io/embulk-input-cloudwatch_logs"
licenses = [ "MIT" ]
}