-
Notifications
You must be signed in to change notification settings - Fork 3
/
build.gradle
69 lines (58 loc) · 1.37 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
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.61'
id "com.jfrog.bintray" version "1.8.5"
id "maven-publish"
id 'java-library'
}
group = "com.ing.dlt"
version '1.0.12'
repositories {
mavenCentral()
maven { url "https://dl.bintray.com/ethereum/maven/" }
}
dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
implementation "org.bouncycastle:bcprov-jdk15on:1.66"
testImplementation 'org.junit.jupiter:junit-jupiter:5.6.0'
}
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
java {
withSourcesJar()
withJavadocJar()
}
// Bintray publishing
bintray {
user = System.getenv('BINTRAY_USER')
key = System.getenv('BINTRAY_KEY')
publications = ['MyPublication']
publish = true
pkg {
repo = 'zkkrypto'
name = project.name
licenses = ['Apache-2.0']
vcsUrl = 'https://github.com/ing-bank/zkkrypto.git'
version {
name = project.version
released = new Date()
vcsTag = project.version
}
}
}
publishing {
publications {
MyPublication(MavenPublication) {
from components.java
groupId = project.group
artifactId = project.archivesBaseName
version = project.version
}
}
}