-
Notifications
You must be signed in to change notification settings - Fork 14
/
build.gradle
50 lines (40 loc) · 1.28 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
apply plugin: 'java'
group = 'org.sgdtk'
version = '0.1.1'
description = "sgdtk"
sourceCompatibility = 1.8
targetCompatibility = 1.8
ext {
jackson_version = '2.4.3'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile group: 'com.lmax', name: 'disruptor', version: '3.0.1'
compile group: 'com.beust', name: 'jcommander', version: '1.29'
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: jackson_version
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: jackson_version
compile group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: jackson_version
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.2'
compile group: 'ch.qos.logback', name: 'logback-classic', version: '1.0.13'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
buildscript {
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath 'org.ajoberstar:gradle-git:1.5.1'
}
}
apply plugin: 'org.ajoberstar.grgit'
jar.manifest {
attributes("Git-Sha-1": grgit.head().id,
"Artifact-Version": project.version,
"Built-By": System.getenv('USER') ?: 'UNK',
"Build-Jdk": JavaVersion.current()
)
}