代码拉取完成,页面将自动刷新
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"
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。