1 Star 13 Fork 9

WeBankBlockchain / SmartDev-Scaffold

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.54 KB
一键复制 编辑 原始数据 按行查看 历史
Aaron Y Chu 提交于 2022-08-18 15:10 . Dev (#22)
plugins {
id 'com.github.johnrengelman.shadow' version '6.1.0'
id 'java'
id 'eclipse'
id 'idea'
id 'application'
}
group 'com.webank'
version '1.2.0'
sourceCompatibility = 1.8
targetCompatibility = 1.8
def solcVersion = rootProject.hasProperty('solcVersion') ? solcVersion : "0.6.10.0"
repositories {
mavenCentral()
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()
}
def log4j_version="2.16.0"
List logger = [
"org.apache.logging.log4j:log4j-api:$log4j_version",
"org.apache.logging.log4j:log4j-core:$log4j_version",
"org.apache.logging.log4j:log4j-to-slf4j:$log4j_version",
]
dependencies {
compile logger
implementation ('com.webank:solc-gradle-plugin:1.0.1')
implementation ('org.fisco-bcos.java-sdk:fisco-bcos-java-sdk:2.9.1')
implementation group: 'info.picocli', name: 'picocli', version: '4.6.1'
implementation ("org.slf4j:slf4j-api:1.7.30")
implementation "org.fisco-bcos:solcJ:${solcVersion}"
}
shadowJar {
mainClassName = 'com.webank.scaffold.Main'
destinationDirectory = file('dist')
archiveFileName = project.name+'.jar'
exclude '**/*.DSA'
exclude '**/*.RSA'
exclude '**/*.SF'
manifestContentCharset 'utf-8'
metadataCharset 'utf-8'
from("./"){
include 'build.gradle'
}
}
clean {
println "delete ${projectDir}/dist"
delete "${projectDir}/dist"
}
Java
1
https://gitee.com/WeBankBlockchain/SmartDev-Scaffold.git
git@gitee.com:WeBankBlockchain/SmartDev-Scaffold.git
WeBankBlockchain
SmartDev-Scaffold
SmartDev-Scaffold
main

搜索帮助