forked from sparrowwallet/hummingbird
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbuild.gradle
More file actions
83 lines (68 loc) · 1.84 KB
/
build.gradle
File metadata and controls
83 lines (68 loc) · 1.84 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
80
81
82
83
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
}
}
plugins {
id 'java-library'
id 'io.codearte.nexus-staging' version '0.22.0'
}
apply plugin: 'com.bmuschko.nexus'
archivesBaseName = 'hummingbird'
group 'com.sparrowwallet'
version '1.6.1'
repositories {
mavenCentral()
}
dependencies {
implementation('co.nstant.in:cbor:0.9')
testCompile group: 'junit', name: 'junit', version: '4.12'
}
jar {
manifest {
attributes 'Automatic-Module-Name' : 'com.sparrowwallet.hummingbird'
}
}
modifyPom {
project {
name 'hummingbird'
description 'Java implementation of Uniform Resources (UR)'
url 'https://github.com/sparrowwallet/hummingbird'
inceptionYear '2020'
scm {
url 'https://github.com/sparrowwallet/hummingbird'
connection 'scm:https://github.com/sparrowwallet/hummingbird.git'
developerConnection 'scm:git@github.com:sparrowwallet/hummingbird.git'
}
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
developers {
developer {
id 'craigraw'
name 'Craig Raw'
email 'mail@sparrowwallet.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/'
}
nexusStaging {
}
/* See https://www.albertgao.xyz/2018/01/18/how-to-publish-artifact-to-maven-central-via-gradle/ */