This repository has been archived by the owner on Jun 12, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
87 lines (71 loc) · 1.81 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
import java.text.SimpleDateFormat
plugins {
id 'com.github.johnrengelman.shadow' version '1.2.3'
id "com.jfrog.bintray" version "1.4"
}
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.bintray'
archivesBaseName = 'warp10-opentsdb-plugin'
def opentsdbHandlerVersion = '1.0.0'
version = opentsdbHandlerVersion
group = 'io.warp10'
sourceCompatibility = 1.7
targetCompatibility = 1.7
//
// Repositories for dependency resolution
//
repositories {
jcenter()
mavenCentral()
mavenLocal()
maven {
url 'https://dl.bintray.com/cityzendata/maven'
}
maven {
url 'https://dl.bintray.com/cityzendata/generic'
}
maven {
url 'https://dl.bintray.com/hbs/maven'
}
maven {
url "http://nexus.bedatadriven.com/content/groups/public/"
}
}
configurations {
provided
}
dependencies {
provided group:'io.warp10', name: 'warpscript', version: '1.2.2-20-g992b83f'
compile group: 'org.eclipse.jetty', name: 'jetty-server', version: '9.0.5.v20130815'
compile group: 'org.eclipse.jetty', name: 'jetty-servlets', version: '9.0.5.v20130815'
compile group: 'com.google.code.gson', name: 'gson', version: '2.8.0'
testCompile "junit:junit:5"
}
sourceSets {
main {
compileClasspath += configurations.provided
}
}
idea {
module {
inheritOutputDirs = true
scopes.PROVIDED.plus += [configurations.provided]
}
}
shadowJar {
manifest {
attributes(
'Main-Class': 'io.warp10.plugins.opentsdb.OpenTSDBPutHandler'
)
}
relocate 'org', 'io.warp10.quantum.org'
relocate 'jetty', 'io.warp10.pushgateway.jetty'
relocate 'javax', 'io.warp10.quantum.javax'
classifier = null
}
artifacts {
archives shadowJar
}