@@ -2,6 +2,7 @@ buildscript {
22 repositories {
33 mavenCentral()
44 jcenter()
5+ maven { url ' https://jitpack.io' }
56 }
67 dependencies {
78 classpath ' com.google.protobuf:protobuf-gradle-plugin:0.8.3'
@@ -23,7 +24,7 @@ apply plugin: 'com.github.johnrengelman.shadow'
2324apply plugin : " jacoco"
2425apply plugin : ' maven-publish'
2526
26- jar. enabled = false
27+ jar. enabled = true
2728shadowJar. enabled = true
2829
2930sourceCompatibility = 1.8
@@ -51,6 +52,8 @@ repositories {
5152 mavenLocal()
5253 mavenCentral()
5354 maven { url ' http://repo.spring.io/plugins-release' }
55+ // maven { url 'https://maven.aliyun.com/nexus/content/repositories/central/' }
56+ maven { url ' https://jitpack.io' }
5457}
5558def versions = [
5659 checkstyle : ' 8.7' ,
@@ -176,12 +179,14 @@ dependencies {
176179 compile ' org.eclipse.jetty:jetty-server:9.4.11.v20180605'
177180 compile ' org.eclipse.jetty:jetty-servlet:9.4.11.v20180605'
178181 compile ' com.alibaba:fastjson:1.2.47'
179- compile group : ' org.apache.httpcomponents' , name :' httpasyncclient' , version :' 4.1.1'
182+ compile group : ' org.apache.httpcomponents' , name : ' httpasyncclient' , version : ' 4.1.1'
180183 // end http
181184
182185 compile " io.vavr:vavr:0.9.2"
183186 compile group : ' org.pf4j' , name : ' pf4j' , version : ' 2.5.0'
187+
184188 compile group : ' org.zeromq' , name : ' jeromq' , version : ' 0.5.0'
189+ compile ' com.github.tronprotocol:zksnark-java-sdk:master-SNAPSHOT'
185190
186191}
187192
@@ -283,6 +288,12 @@ test {
283288 destinationFile = file(" $buildDir /jacoco/jacocoTest.exec" )
284289 classDumpDir = file(" $buildDir /jacoco/classpathdumps" )
285290 }
291+ if (isWindows()) {
292+ exclude ' **/ShieldedTransferActuatorTest.class'
293+ exclude ' **/BackupDbUtilTest.class'
294+ exclude ' **/ManagerTest.class'
295+ exclude ' org/tron/core/zksnark/**'
296+ }
286297}
287298
288299task stest (type : Test ) {
0 commit comments