diff --git a/build.gradle b/build.gradle index f328878c3a5..b4b2cae45b3 100755 --- a/build.gradle +++ b/build.gradle @@ -24,7 +24,8 @@ apply plugin: "jacoco" apply plugin: 'maven-publish' jar.enabled = false -shadowJar.enabled = false +//allow shadowJar to enable jitpack dependency +shadowJar.enabled = true sourceCompatibility = 1.8 [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' @@ -264,7 +265,7 @@ run { shadowJar { baseName = 'java-tron' classifier = null - version = null + version = '1.0.0' } test { @@ -342,4 +343,4 @@ artifacts { binaryRelease('buildFullNodeJar', 'FullNode', 'org.tron.program.FullNode'), binaryRelease('buildKeystoreFactoryJar', 'KeystoreFactory', 'org.tron.program.KeystoreFactory'), binaryRelease('buildDBConvertJar', 'DBConvert', 'org.tron.program.DBConvert')) -} \ No newline at end of file +}