-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
79 lines (68 loc) · 2.28 KB
/
build.gradle
File metadata and controls
79 lines (68 loc) · 2.28 KB
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
79
apply plugin: 'java-library'
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'maven'
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.artifactory'
apply plugin: 'war'
apply plugin: 'kotlin'
buildscript {
ext.kotlin_version = '1.3.31'
repositories {
jcenter()
mavenCentral()
}
dependencies {
classpath "org.jfrog.buildinfo:build-info-extractor-gradle:4+"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.31"
}
}
allprojects {
apply plugin: "com.jfrog.artifactory"
}
compileJava {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
}
repositories {
jcenter()
mavenCentral()
}
dependencies {
testImplementation group: 'junit', name: 'junit', version: '4.13'
implementation group: 'net.i2p.crypto', name: 'eddsa', version: '0.3.0'
// implementation group: 'com.google', name: 'bitcoinj', version: '0.11.1'
implementation group: 'commons-codec', name: 'commons-codec', version: '1.14'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-core', version: '2.11.0'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: '2.11.0'
implementation group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: '2.11.0'
implementation group: 'org.bouncycastle', name: 'bcprov-jdk16', version: '1.45'
implementation 'io.github.novacrypto:BIP39:2019.01.27'
// implementation 'com.google.code.gson:gson:2.8.6'
implementation 'com.squareup.okhttp3:okhttp:4.7.2'
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
}
publishing {
publications {
maven(MavenPublication) {
groupId = 'gradle-sono'
artifactId = 'sonolib'
version = '1.0.21'
from components.java
pom {
name = 'Sonolib'
description = 'Java library for sonocoin'
}
repositories {
maven {
name 'deploy'
url deployRepoUrl
credentials {
username = deployRepoUsername
password = deployRepoPassword
}
}
}
}
}
}