-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
91 lines (82 loc) · 2.29 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
79
80
81
82
83
84
85
86
87
88
89
90
91
plugins {
id 'java'
id 'com.bmuschko.nexus' version '2.3.1'
id 'io.codearte.nexus-staging' version '0.11.0'
id 'maven-publish'
}
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourceJar {
classifier "sources"
}
}
}
}
group 'io.iconator'
archivesBaseName = 'testonator'
version '1.0.35'
sourceCompatibility = 1.8
targetCompatibility = 1.8
jar.enabled = true
repositories {
mavenLocal()
mavenCentral()
maven { url 'https://dl.bintray.com/ethereum/maven/' }
}
dependencies {
compile 'org.ethereum:ethereumj-core:1.11.0-RELEASE'
compile 'org.ethereum:solcJ-all:0.5.7'
compile 'com.github.briandilley.jsonrpc4j:jsonrpc4j:1.5.3'
compile 'commons-io:commons-io:2.6'
compile 'org.web3j:core:4.2.0'
compile 'org.eclipse.jetty:jetty-server:9.4.15.v20190215'
compile 'org.eclipse.jetty:jetty-servlet:9.4.15.v20190215'
compile 'javax.portlet:portlet-api:3.0.1'
}
modifyPom {
project {
name 'Testonator'
description 'Java library to support jsonrpc tests.'
url 'https://github.com/ICOnator/Testonator'
inceptionYear '2018'
scm {
url 'https://github.com/ICOnator/Testonator'
connection 'scm:https://github.com/ICOnator/Testonator.git'
developerConnection 'scm:https://github.com/ICOnator/Testonator.git'
}
licenses {
license {
name 'GNU GENERAL PUBLIC LICENSE, Version 3'
url 'https://www.gnu.org/licenses/gpl-3.0.en.html'
distribution 'repo'
}
}
developers {
developer {
id 'tbocek'
name 'tbocek'
email 'tom@bocek.ch'
}
developer {
id 'gsmachado'
name 'gsmachado'
email 'guil@axlabs.com'
}
}
}
}
extraArchive {
sources = true
tests = true
javadoc = true
}
nexus {
sign = true
repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/'
snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots/'
}