加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.59 KB
一键复制 编辑 原始数据 按行查看 历史
toyoungtosimple 提交于 2021-09-16 21:31 . 修改至gradle build不报错
buildscript {
repositories { jcenter() }
dependencies {
classpath 'com.netflix.nebula:gradle-extra-configurations-plugin:2.2.+'
}
}
plugins {
id 'nebula.netflixoss' version '5.1.1'
}
idea {
project {
languageLevel = '1.8'
}
}
if (JavaVersion.current().isJava8Compatible()) {
allprojects {
tasks.withType(Javadoc) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
}
allprojects {
ext {
githubProjectName = 'eureka'
awsVersion = '1.11.105'
servletVersion = '2.5'
jerseyVersion = '1.19.1'
jettisonVersion = '1.3.7'
apacheHttpClientVersion = '4.3.4'
guiceVersion = '4.1.0'
servoVersion = '0.10.1'
governatorVersion = '1.12.10'
archaiusVersion = '0.7.5'
blitzVersion = '1.34'
mockitoVersion = '1.10.19'
junit_version = '4.11'
mockserverVersion = '3.9.2'
jetty_version = '7.2.0.v20101020'
jacksonVersion = '2.8.7'
woodstoxVersion = '4.4.1'
}
}
subprojects {
apply plugin: 'nebula.netflixoss'
apply plugin: 'java'
group = "com.netflix.${githubProjectName}"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
jcenter()
}
test {
forkEvery = 1
// setting this property prevents java from grabbing focus when running the tests under osx
systemProperty 'java.awt.headless', 'true'
}
jar {
manifest {
attributes('Build-Time-ISO-8601': new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"))
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化