mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-28 22:02:16 +00:00
39 lines
711 B
Groovy
39 lines
711 B
Groovy
apply plugin: 'java'
|
|
apply plugin: 'maven'
|
|
|
|
// Publishing stuff
|
|
group = 'com.github.jjos2372'
|
|
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
repositories {
|
|
jcenter()
|
|
mavenCentral()
|
|
maven { url 'https://jitpack.io' }
|
|
}
|
|
|
|
dependencies {
|
|
compile 'org.bitcoinj:bitcoinj-core:0.15.6'
|
|
}
|
|
|
|
sourceSets {
|
|
main.java.srcDirs = ['core/src/main/java']
|
|
main.resources.srcDirs = ['core/src/main/resources']
|
|
}
|
|
|
|
task sourcesJar(type: Jar, dependsOn: classes) {
|
|
classifier = 'sources'
|
|
from sourceSets.main.allSource
|
|
}
|
|
|
|
task javadocJar(type: Jar, dependsOn: javadoc) {
|
|
classifier = 'javadoc'
|
|
from javadoc.destinationDir
|
|
}
|
|
|
|
artifacts {
|
|
archives sourcesJar
|
|
archives javadocJar
|
|
}
|