-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
63 lines (52 loc) · 1.36 KB
/
build.gradle
File metadata and controls
63 lines (52 loc) · 1.36 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
group 'com.icodici'
version '3.8.2'
apply plugin: 'java'
apply plugin: 'maven-publish'
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
task sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
task javadocJar(type: Jar) {
classifier = 'javadoc'
from javadoc
}
javadoc {
if (JavaVersion.current().isJava9Compatible()) {
options.addBooleanOption('html4', true)
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourcesJar
artifact javadocJar
}
}
repositories {
maven {
url = "https://maven.universablockchain.com/"
credentials {
username System.getProperty("user")
password System.getProperty("password")
}
}
}
}
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven {
url = "https://maven.universablockchain.com/"
}
}
dependencies {
testCompile 'junit:junit:4.12'
testCompile 'com.icodici:universa_core:3.8.4'
compile group: 'com.madgag.spongycastle', name: 'core', version: '1.58.0.0'
compile group: 'com.squareup.jnagmp', name: 'jnagmp', version: '2.0.0'
compile group: 'org.threeten', name: 'threetenbp', version: '1.3.6', classifier: 'no-tzdb'
}