upgrade shadow, remove deprecated gradle elements

This commit is contained in:
Craig Raw 2020-04-02 12:53:52 +02:00
parent c7fe182241
commit 8c4e6f4ac8

View file

@ -11,7 +11,7 @@ buildscript {
plugins { plugins {
id 'java' id 'java'
id 'com.github.johnrengelman.shadow' version '4.0.2' id 'com.github.johnrengelman.shadow' version '5.2.0'
} }
def javamodularityPluginId = 'org.javamodularity.moduleplugin' def javamodularityPluginId = 'org.javamodularity.moduleplugin'
@ -64,11 +64,11 @@ jar {
attributes "Main-Class": "com.sparrowwallet.drongo.Main" attributes "Main-Class": "com.sparrowwallet.drongo.Main"
} }
baseName = 'drongo' archiveBaseName = 'drongo'
version = '0.1' archiveVersion = '0.1'
} }
shadowJar { shadowJar {
version = '0.1' archiveVersion = '0.1'
classifier = 'all' classifier = 'all'
} }