revert dist jar
@@ -32,13 +32,13 @@ List spring =[
// In this section you declare the dependencies for your production and test code
dependencies {
compile 'org.apache.commons:commons-lang3:3.1',
- "com.fasterxml.jackson.core:jackson-databind:2.9.6",
+ 'com.fasterxml.jackson.core:jackson-databind:2.9.6',
'io.netty:netty-all:4.1.15.Final',
'io.netty:netty-tcnative:2.0.18.Final',
'com.google.guava:guava:19.0',
'info.picocli:picocli:3.6.0',
- "io.reactivex.rxjava2:rxjava:2.2.2",
- "org.java-websocket:Java-WebSocket:1.3.8",
+ 'io.reactivex.rxjava2:rxjava:2.2.2',
+ 'org.java-websocket:Java-WebSocket:1.3.8',
'org.apache.httpcomponents:httpclient:4.5.5',
'org.bouncycastle:bcprov-jdk15on:1.54',
'com.squareup:javapoet:1.7.0',
@@ -46,33 +46,45 @@ dependencies {
'org.slf4j:slf4j-log4j12:1.7.25',
'com.github.jnr:jnr-unixsocket:0.15',
'com.alibaba:druid:1.0.29',
- spring
+ spring,
- testCompile 'junit:junit:4.12',
+ 'junit:junit:4.12',
'org.mockito:mockito-core:2.23.0'
}
-task sourcesJar(type: Jar) {
- classifier = 'sources'
- from sourceSets.main.allSource
-}
-
-task javadocJar(type: Jar, dependsOn: javadoc) {
- classifier = 'javadoc'
- from javadoc.destinationDir
-}
+//task sourcesJar(type: Jar) {
+// classifier = 'sources'
+// from sourceSets.main.allSource
+//}
+//
+//task javadocJar(type: Jar, dependsOn: javadoc) {
+// classifier = 'javadoc'
+// from javadoc.destinationDir
+//}
-artifacts {
- archives jar
- archives sourcesJar
- archives javadocJar
-}
+//artifacts {
+// archives jar
+// archives sourcesJar
+// archives javadocJar
+//}
archivesBaseName = 'web3sdk'
group = 'org.fisco-bcos'
version = '2.0.0'
+// for old sdk
+sourceSets {
+ main {
+ java {
+ srcDir 'src/main/java'
+ srcDir 'src/test/java'
+ }
+ resources {
+ srcDir 'src/main/resources'
+ }
+ }
+}
jar {
destinationDir file('dist/apps')
@@ -95,7 +107,7 @@ jar {
}
}
}
-
+//
//signing {
