Skip to content

Commit

Permalink
Merge pull request #2 from WeBankBlockchain/dev
Browse files Browse the repository at this point in the history
build.gradle rm warnings
  • Loading branch information
dalaocu authored Apr 7, 2021
2 parents 8a6b142 + dfc9e81 commit 940244d
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
apply plugin: 'maven'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
Expand All @@ -12,7 +11,7 @@ sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
mavenCentral()
maven { url "http://maven.aliyun.com/nexus/content/groups/public/"}
maven { url "https://maven.aliyun.com/nexus/content/groups/public/"}
maven { url "https://oss.sonatype.org/content/repositories/snapshots" }
maven { url "https://dl.bintray.com/ethereum/maven/" }
mavenLocal()
Expand All @@ -23,11 +22,10 @@ repositories {
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.20'
annotationProcessor 'org.projectlombok:lombok:1.18.20'
compile ('com.webank:solc-gradle-plugin:1.0.0-SNAPSHOT')
compile ('org.fisco-bcos.java-sdk:fisco-bcos-java-sdk:2.7.1')
compile group: 'info.picocli', name: 'picocli', version: '4.6.1'
//compile 'org.bouncycastle:bcprov-jdk15on:1.61'
compile ("org.slf4j:slf4j-api:1.7.30")
implementation ('com.webank:solc-gradle-plugin:1.0.0-SNAPSHOT')
implementation ('org.fisco-bcos.java-sdk:fisco-bcos-java-sdk:2.7.1')
implementation group: 'info.picocli', name: 'picocli', version: '4.6.1'
implementation ("org.slf4j:slf4j-api:1.7.30")
}

sourceSets {
Expand All @@ -42,9 +40,8 @@ sourceSets {
}
jar {
enabled = true
destinationDir file('dist')
archiveName project.name + '.jar'
//Otherwise the main class will not be found
destinationDirectory = file('dist')
archiveFileName = project.name + '.jar'
exclude '**/*.DSA'
exclude '**/*.RSA'
exclude '**/*.SF'
Expand All @@ -55,7 +52,7 @@ jar {
}

from {
configurations.compile.collect {
sourceSets.main.compileClasspath.collect {
it.isDirectory() ? it : zipTree(it)
}
}
Expand Down

0 comments on commit 940244d

Please sign in to comment.