-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·63 lines (54 loc) · 1.34 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
/*
* Copyright D3 Ledger, Inc. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0
*/
buildscript {
ext.kotlin_version = '1.3.10'
repositories {
mavenCentral()
jcenter()
// gradle plugins repository
gradlePluginPortal()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.github.jengelman.gradle.plugins:shadow:4.0.1'
}
}
plugins {
id "com.github.dolgopolovwork.testreport" version "1"
}
apply plugin: 'com.github.johnrengelman.shadow'
testReport {
testFolders = Arrays.asList("changelog-endpoint/src/integration-test")
}
allprojects {
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'maven'
repositories {
mavenCentral()
// for Ktor
jcenter()
maven { url = 'https://dl.bintray.com/kotlin/ktor' }
maven { url 'https://jitpack.io' }
}
}
allprojects {
dependencies {
// Iroha Pure Java library
implementation 'com.github.hyperledger.iroha-java:client:6.1.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
}
}
allprojects {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}
project.afterEvaluate {
test.finalizedBy(d3TestReport)
}