1 Star 1 Fork 0

jarvay/easy_nginx

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.45 KB
一键复制 编辑 原始数据 按行查看 历史
plugins {
id 'java'
id 'groovy'
id 'application'
// id "com.github.johnrengelman.shadow" version "7.1.2"
}
group 'com.jarvay'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
maven {
url "https://oss.sonatype.org/content/repositories/snapshots"
mavenContent {
snapshotsOnly()
}
}
mavenCentral()
}
def vertxVersion = "4.1.0"
def junitJupiterVersion = "5.6.0"
def mainVerticleName = "com.jarvay.gateway.ProxyVerticle"
def watchForChange = "src/**/*"
def doOnChange = "./gradlew classes"
def launcherClassName = "io.vertx.core.Launcher"
application {
mainClassName = launcherClassName
}
dependencies {
implementation("io.vertx:vertx-core:$vertxVersion")
implementation("io.vertx:vertx-web:$vertxVersion")
implementation("io.vertx:vertx-web-client:$vertxVersion")
testImplementation("org.codehaus.groovy:groovy:3.0.8")
testImplementation("org.codehaus.groovy:groovy-json:3.0.8")
testImplementation("org.assertj:assertj-core:3.19.0")
testImplementation("io.vertx:vertx-junit5:$vertxVersion")
}
//shadowJar {
// classifier = 'fat'
// manifest {
// attributes 'Main-Verticle': mainVerticleName
// }
// mergeServiceFiles {
// include 'META-INF/services/io.vertx.core.spi.VerticleFactory'
// }
//}
run {
args = ['run', mainVerticleName, "--redeploy=$watchForChange", "--launcher-class=$launcherClassName", "--on-redeploy=$doOnChange"]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/jarvay/easy_nginx.git
git@gitee.com:jarvay/easy_nginx.git
jarvay
easy_nginx
easy_nginx
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385