Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -264,7 +265,7 @@ run {
shadowJar {
baseName = 'java-tron'
classifier = null
version = null
version = '1.0.0'
Copy link
Contributor

@DorianRust DorianRust Jun 21, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

setting shadowJar.enabled = true can generate java-tron.jar. Not need a special version number.

}

test {
Expand Down Expand Up @@ -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'))
}
}