forked from Warchant/iroha-pure-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
78 lines (62 loc) · 1.9 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
plugins {
id 'java'
id 'idea'
id 'jacoco'
id 'groovy'
id "com.google.protobuf" version "0.8.6"
id "org.sonarqube" version "2.6"
}
group = 'jp.co.soramitsu'
version = 'v1.0.0_rc2-ipj-1.0.0'
sourceCompatibility = 1.8
jar {
baseName = 'iroha-pure-java'
version = project.version
}
jacoco {
toolVersion = "0.8.1"
reportsDir = file("$buildDir/reports/")
}
jacocoTestReport {
executionData fileTree(project.rootDir.absolutePath).include("**/build/jacoco/*.exec")
reports {
xml.enabled true
xml.destination file("${buildDir}/reports/coverage.xml")
csv.enabled false
html.enabled true
html.destination file("${buildDir}/reports/html")
}
dependsOn(test)
}
task wrapper(type: Wrapper) {
gradleVersion = '4.10'
}
repositories {
jcenter()
mavenCentral()
maven { url "https://jitpack.io" }
}
final def spockVersion = '1.2-groovy-2.4'
final def edVersion = '2.0.1'
final def spockGenesisVersion = '0.6.0'
final def lombokVersion = '1.18.4'
final def testcontainersIroha = 'v1.0.0_rc2-SNAPSHOT'
final def rxjavaVersion = '2.2.4'
final def jcabiVersion = '0.22.6'
dependencies {
compile "io.reactivex.rxjava2:rxjava:${rxjavaVersion}"
compile("com.github.warchant:ed25519-sha3-java:${edVersion}")
compileOnly("org.projectlombok:lombok:$lombokVersion")
testCompileOnly("org.projectlombok:lombok:$lombokVersion")
testCompile "com.nagternal:spock-genesis:${spockGenesisVersion}"
testCompile "org.spockframework:spock-core:${spockVersion}"
testCompile group: 'com.github.Warchant', name: 'testcontainers-iroha', version: testcontainersIroha
compile group: 'com.jcabi', name: 'jcabi-aspects', version: "${jcabiVersion}"
}
apply from: 'proto.gradle'
sonarqube {
properties {
property "sonar.exclusions", "**/generated/*.java"
property "sonar.projectKey", "warchant:iroha-pure-java"
}
}