-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
62 lines (50 loc) · 1.26 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
plugins {
id 'jvm-component'
id 'java'
id 'java-lang'
id 'eclipse'
id 'idea'
id 'com.github.johnrengelman.shadow' version '1.2.3'
}
description = "Cassandra seed provider for EC2"
group = "com.kryptnostic"
ext.sourceCompatibility=JavaVersion.VERSION_1_8
ext.targetCompatibility=JavaVersion.VERSION_1_8
repositories {
mavenCentral()
maven {
url "http://repo.maven.apache.org/maven2"
}
}
model {
components {
main(JvmLibrarySpec)
}
}
dependencies {
compile "com.google.guava:guava:19.0"
compile group: 'org.apache.cassandra', name: 'cassandra-all', version: '3.7'
compile group: 'com.amazonaws', name: 'aws-java-sdk-ec2', version: '1.11.36'
testCompile 'junit:junit:4.12'
}
shadowJar {
mergeServiceFiles()
exclude 'META-INF/*.DSA'
exclude 'META-INF/*.RSA'
}
configurations {
runtime.exclude module: 'logback-core'
runtime.exclude module: 'logback-classic'
runtime.exclude module: 'slf4j-api'
runtime.exclude module: 'log4j-over-slf4j'
runtime.exclude module: 'jcl-over-slf4j'
}
eclipse {
ext.downloadSources = true
ext.downloadJavadoc = true
ext.sourceCompatibility=JavaVersion.VERSION_1_8
ext.targetCompatibility=JavaVersion.VERSION_1_8
}
artifacts {
archives jar
}