代码拉取完成,页面将自动刷新
同步操作将从 ZY/houge 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
buildscript {
dependencies {
// https://github.com/fabric8io-images/run-java-sh
// run-java.sh 是Java应用程序的通用启动脚本,特别是为从容器中运行而精心编制的。
classpath("io.fabric8:run-java-sh:1.3.8")
}
}
plugins {
id "io.spring.dependency-management" version "1.0.9.RELEASE"
id "com.github.hierynomus.license" version "0.15.0"
id "me.champeau.gradle.jmh" version "0.5.0"
id "org.flywaydb.flyway" version "7.3.1"
id "com.novoda.build-properties" version "0.4.1"
id "org.hidetake.ssh" version "2.10.1"
id "com.github.johnrengelman.shadow" version "5.2.0"
id "com.bmuschko.docker-remote-api" version "6.7.0"
}
flyway {
configFiles = ["${projectDir}/flyway.conf"]
}
dependencies {
// flywaydb 需要使用的依赖 https://flywaydb.org/
implementation("org.postgresql:postgresql")
}
allprojects {
apply plugin: "java"
apply plugin: "java-library"
apply plugin: "jacoco"
apply plugin: "checkstyle"
apply plugin: "io.spring.dependency-management"
apply plugin: "com.github.johnrengelman.shadow"
apply plugin: "me.champeau.gradle.jmh"
version = "1.0.0-SNAPSHOT"
sourceCompatibility = "11"
targetCompatibility = "11"
[compileJava, compileTestJava, javadoc]*.options*.encoding = "UTF-8"
test {
useJUnitPlatform()
testLogging {
exceptionFormat "full"
events "passed", "skipped", "failed"
}
workingDir rootProject.rootDir
}
jacocoTestReport {
reports {
xml.enabled = true
html.enabled = true
}
}
license {
header = rootProject.file("LICENSE")
headerURI = com.hierynomus.gradle.license.LicenseBasePlugin.classLoader.getResource("headers/Apache-2.0").toURI()
skipExistingHeaders = true
mapping {
java = "SLASHSTAR_STYLE"
}
ext {
year = "2019-2020"
author = "the original author or authors"
}
}
checkstyle {
toolVersion = "8.33"
configFile = rootProject.file("config/checkstyle/google_checks.xml")
}
tasks.withType(Checkstyle) {
reports {
xml.enabled = true
html.enabled = true
}
}
dependencyManagement {
imports {
mavenBom("top.yein.chaos:chaos-bom:1.0-SNAPSHOT")
}
}
dependencies {
compileOnly("org.projectlombok:lombok")
annotationProcessor("org.projectlombok:lombok")
compileOnly("com.google.code.findbugs:jsr305")
api("org.apache.logging.log4j:log4j-api")
// Test
testCompileOnly("org.projectlombok:lombok")
testAnnotationProcessor("org.projectlombok:lombok")
testImplementation("org.openjdk.jol:jol-core")
testImplementation("org.junit.platform:junit-platform-launcher")
testImplementation("org.junit.jupiter:junit-jupiter-engine")
testImplementation("com.github.stefanbirkner:system-lambda")
testImplementation("io.projectreactor:reactor-test")
testImplementation("io.projectreactor:reactor-tools")
testImplementation("io.micrometer:micrometer-test")
testImplementation("org.assertj:assertj-core")
testImplementation("org.mockito:mockito-core")
testImplementation("org.mockito:mockito-inline")
testImplementation("org.powermock:powermock-reflect")
testImplementation("org.testcontainers:testcontainers")
testImplementation("org.testcontainers:junit-jupiter")
testImplementation("com.github.javafaker:javafaker") {
exclude module: "snakeyaml"
}
testImplementation("org.yaml:snakeyaml:1.27")
jmh("org.openjdk.jmh:jmh-core")
jmh("org.openjdk.jmh:jmh-generator-annprocess")
}
repositories {
mavenLocal()
def aliyunEnabled = System.getenv("GITHUB_ACTIONS") == null
if (aliyunEnabled) {
maven { url = "https://maven.aliyun.com/nexus/content/groups/public/" }
}
maven { url = "https://oss.sonatype.org/content/repositories/snapshots" }
mavenCentral()
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。