加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/aol/micro-server
克隆/下载
build.gradle 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
jijisv 提交于 2020-09-16 10:50 . upgrade gradle to latest version
def custom = { "$rootDir/gradle/${it}.gradle" }
buildscript {
repositories {
jcenter()
maven {
url 'https://github.com/serkan-ozal/maven-repository/raw/master/'
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.2'
classpath 'com.github.lkishalmi.gradle:gradle-bom-plugin:0.3'
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'maven'
if (project.name != "micro-tutorial") {
apply plugin: 'com.bmuschko.nexus'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
}
}
repositories {
mavenCentral()
maven { url "http://repo.maven.apache.org/maven2" }
jcenter()
}
dependencies {
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.16.18'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.mockito', name: 'mockito-core', version: '1.9.5'
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion
testCompileOnly group: 'org.projectlombok', name: 'lombok', version: '1.16.18'
}
test {
systemProperties 'property': 'value'
testLogging {
events "started", "passed", "skipped", "failed"
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化