hummingbird/build.gradle

77 lines
1.7 KiB
Groovy
Raw Normal View History

2020-10-14 16:36:37 +00:00
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
}
}
2020-10-14 11:07:00 +00:00
plugins {
id 'java-library'
2020-10-14 16:36:37 +00:00
id 'io.codearte.nexus-staging' version '0.22.0'
2020-10-14 11:07:00 +00:00
}
2020-10-14 16:36:37 +00:00
apply plugin: 'com.bmuschko.nexus'
archivesBaseName = 'hummingbird'
2020-10-14 11:07:00 +00:00
group 'com.sparrowwallet'
2021-04-01 09:25:17 +00:00
version '1.5.5'
2020-10-14 11:07:00 +00:00
repositories {
mavenCentral()
}
dependencies {
implementation('co.nstant.in:cbor:0.9')
testCompile group: 'junit', name: 'junit', version: '4.12'
}
2020-10-14 16:36:37 +00:00
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/ */