-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
50 lines (44 loc) · 1.35 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
plugins {
id 'java'
id 'idea'
id "org.sonarqube" version "2.6"
id 'jacoco'
}
group 'com.ictpoker'
version '0.1'
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven { url "https://jitpack.io" }
}
jacoco {
toolVersion = "0.8.2"
reportsDir = file("$buildDir/customJacocoReportDir")
}
dependencies {
compile 'com.github.iotaledger:ict:046dc88c9514a4356224ebb9c9a4f5374c7d8710'
compile 'com.google.code.gson:gson:2.8.5'
compile group: 'org.danilopianini', name: 'gson-extras', version: '0.2.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-api', version: '2.11.1'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.11.1'
compile 'com.github.mikrohash:iota.curl.java:master'
compile group: 'commons-codec', name: 'commons-codec', version: '1.9'
compile 'com.google.guava:guava:27.0.1-jre'
testCompile group: 'junit', name: 'junit', version: '4.12'
}
jacocoTestReport {
reports {
xml.enabled false
csv.enabled false
html.destination file("${buildDir}/jacocoHtml")
}
}
task fatJar(type: Jar) {
manifest {
attributes 'Main-Class': 'com.ictpoker.ixi.PokerIxi'
}
baseName = 'poker.ixi'
destinationDir = file("$rootDir/")
from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } }
with jar
}