mirror of
https://github.com/sparrowwallet/drongo.git
synced 2024-11-02 18:26:43 +00:00
44 lines
899 B
Groovy
44 lines
899 B
Groovy
|
plugins {
|
||
|
id 'java'
|
||
|
id 'com.github.johnrengelman.shadow' version '4.0.2'
|
||
|
}
|
||
|
|
||
|
group 'com.craigraw'
|
||
|
version '0.1'
|
||
|
|
||
|
sourceCompatibility = 1.8
|
||
|
targetCompatibility = 1.8
|
||
|
|
||
|
repositories {
|
||
|
mavenCentral()
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
compile 'org.zeromq:jeromq:0.5.0'
|
||
|
compile 'com.googlecode.json-simple:json-simple:1.1.1'
|
||
|
compile 'org.bouncycastle:bcprov-jdk15on:1.60'
|
||
|
implementation 'org.slf4j:slf4j-api:1.7.25'
|
||
|
runtime 'org.slf4j:slf4j-log4j12:1.7.25'
|
||
|
testCompile group: 'junit', name: 'junit', version: '4.11'
|
||
|
}
|
||
|
|
||
|
task(runDrongo, dependsOn: 'classes', type: JavaExec) {
|
||
|
main = 'com.craigraw.drongo.Main'
|
||
|
classpath = sourceSets.main.runtimeClasspath
|
||
|
args 'drongo.properties'
|
||
|
}
|
||
|
|
||
|
jar {
|
||
|
manifest {
|
||
|
attributes "Main-Class": "com.craigraw.drongo.Main"
|
||
|
}
|
||
|
|
||
|
baseName = 'drongo'
|
||
|
version = '0.1'
|
||
|
}
|
||
|
|
||
|
shadowJar {
|
||
|
version = '0.1'
|
||
|
classifier = 'all'
|
||
|
}
|