-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
65 lines (47 loc) · 1.1 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
buildscript {
repositories {
mavenLocal()
jcenter()
}
dependencies {
}
}
plugins {
id 'application'
}
sourceCompatibility=1.8
targetCompatibility=1.8
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'idea'
group = 'net.cql_exporter'
version = '1.1'
description = ''
sourceSets {
main.java.srcDirs = ['source/src/main/java']
main.resources.srcDirs = ['source/src/main/resources']
}
configurations {
providedRuntime
}
repositories {
mavenLocal()
jcenter()
}
defaultTasks('run')
dependencies {
compile group: 'commons-cli', name: 'commons-cli', version: '1.4'
compile group: 'commons-io', name: 'commons-io', version: '2.6'
compile group: 'com.google.guava', name: 'guava', version: 'r05'
compile group: 'com.datastax.cassandra', name: 'cassandra-driver-core', version: '3.8.0'
}
mainClassName = 'net.cql_exporter.Main'
jar {
manifest {
attributes('Main-Class': mainClassName)
}
from {
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
}
destinationDir = file("dist")
}