forked from open-telemetry/opentelemetry-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
43 lines (37 loc) · 954 Bytes
/
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
plugins {
id "com.diffplug.spotless"
}
subprojects {
apply plugin: 'eclipse'
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'idea'
apply plugin: 'com.diffplug.spotless'
group = "io.opentelemetry"
version = "0.1.0-SNAPSHOT"
ext {
opentelemetryVersion = "0.9.1"
grpcVersion = '1.28.0'
protobufVersion = '3.11.4'
protocVersion = protobufVersion
}
repositories {
mavenCentral()
jcenter()
maven {
// Add snapshot repository
url "https://oss.jfrog.org/artifactory/oss-snapshot-local"
}
}
spotless {
java {
googleJavaFormat("1.7")
}
}
//create a single Jar with all dependencies
task fatJar(type: Jar) {
baseName = project.name + '-all'
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}
}