1 Star 0 Fork 4

kco_github/EthereumJ

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
build.gradle 1.15 KB
一键复制 编辑 原始数据 按行查看 历史
Mikhail Kalinin 提交于 2018-03-21 12:25 . Upgrade gradle to version 4.6
wrapper.gradleVersion = '4.6'
allprojects {
apply plugin: 'eclipse'
if (JavaVersion.current().isJava8Compatible()) {
//Disable lint of javadoc until someone fixes all the html
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
def gitCurBranch() {
def branchName = System.getenv('TRAVIS_BRANCH')
if (branchName) return branchName
def process = "git rev-parse --abbrev-ref HEAD".execute()
return process.text.trim()
}
subprojects {
apply plugin: 'java'
apply plugin: 'maven'
def config = new ConfigSlurper().parse(new File("$projectDir/src/main/resources/version.properties").toURI().toURL())
group = 'org.ethereum'
version = config.versionNumber + ("master" == gitCurBranch() ? "-RELEASE" : "-SNAPSHOT")
println("Building version: " + version + " (from branch " + gitCurBranch() + ")")
compileJava.options.encoding = 'UTF-8'
compileJava.options.compilerArgs << '-XDignore.symbol.file'
compileTestJava.options.encoding = 'UTF-8'
repositories {
jcenter()
maven { url "https://dl.bintray.com/ethereum/maven/" }
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/kco_github/EthereumJ.git
git@gitee.com:kco_github/EthereumJ.git
kco_github
EthereumJ
EthereumJ
master

搜索帮助