代码拉取完成,页面将自动刷新
同步操作将从 pink0453/iron 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
allprojects {
apply plugin:'java'
repositories {
mavenLocal()
maven {
url = uri('https://maven.aliyun.com/repository/public')
}
maven {
url 'https://repo.maven.apache.org/maven2'
name 'Maven Central'
}
}
dependencies {
implementation 'io.vertx:vertx-core:4.3.1'
implementation 'io.vertx:vertx-hazelcast:4.3.1'
implementation 'cn.hutool:hutool-all:5.8.1'
implementation 'org.apache.logging.log4j:log4j-core:2.17.2'
implementation 'org.apache.logging.log4j:log4j-api:2.17.2'
implementation 'org.apache.logging.log4j:log4j-slf4j-impl:2.17.2'
implementation 'com.github.ben-manes.caffeine:caffeine:3.1.1'
implementation 'org.apache.commons:commons-lang3:3.12.0'
implementation 'org.quartz-scheduler:quartz-jobs:2.3.2'
implementation 'org.quartz-scheduler:quartz:2.3.2'
implementation 'org.freemarker:freemarker:2.3.31'
implementation 'org.projectlombok:lombok:1.18.24'
annotationProcessor 'org.projectlombok:lombok:1.18.24'
runtimeOnly files('../config')
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
sourceSets {
main {
java {
srcDirs = ['src/main/java', 'src/gen/java']
}
}
}
copy {
from('src/main/java'){
include "**/*.ftl"
exclude "**/*.java"
}
into(compileJava.destinationDir)
setIncludeEmptyDirs(false)
}
}
def releasePathSub = java.nio.file.Path.of("../../../release/server")
def releaseLibSub = releasePathSub.resolve("libs")
// 生成的模块
List<String> subProjName = new ArrayList<>()
for (def f in subprojects){
subProjName.add(f.name + ".jar")
}
subprojects {
task copyToRelease(type: Copy) {
// 子模块jar
libsDirectory.set(releasePathSub.toFile())
// 用于排除config
ConfigurableFileTree confFileTree = fileTree("../config")
// 依赖的jar拷到libs
from configurations.implementation
exclude {it.file in confFileTree.getFiles()}
exclude(subProjName)
into releaseLibSub
configurations.implementation.canBeResolved(true)
}
build.dependsOn(copyToRelease)
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。