代码拉取完成,页面将自动刷新
plugins {
id("com.github.johnrengelman.shadow") version "8.1.1"
id("io.micronaut.application") version "4.0.4"
//id("io.micronaut.aot") version "4.0.4"
}
version = "0.1"
group = "com.example"
repositories {
maven { url 'https://maven.aliyun.com/repository/central' }
// maven { url 'https://repo1.maven.org/maven2' }
// MavenCentral 远程仓库:https://mvnrepository.com
// mavenCentral()
// google()
}
dependencies {
annotationProcessor("io.micronaut:micronaut-http-validation")
annotationProcessor('io.micronaut:micronaut-inject-java')
implementation("io.micronaut:micronaut-jackson-databind")
implementation("io.micronaut:micronaut-http-server")
implementation("org.graalvm.js:js:23.0.1")
implementation("com.alibaba:fastjson:1.2.67_noneautotype2")
implementation("org.antlr:antlr4-runtime:4.7")
compileOnly("io.micronaut:micronaut-http-client")
runtimeOnly("ch.qos.logback:logback-classic")
testImplementation("io.micronaut:micronaut-http-client")
}
application {
mainClass.set("com.example.Application")
}
java {
sourceCompatibility = JavaVersion.toVersion("17")
targetCompatibility = JavaVersion.toVersion("17")
}
graalvmNative.toolchainDetection = false
micronaut {
runtime("netty")
testRuntime("junit5")
processing {
incremental(true)
annotations("com.example.*")
}
// aot {
// // Please review carefully the optimizations enabled below
// // Check https://micronaut-projects.github.io/micronaut-aot/latest/guide/ for more details
// optimizeServiceLoading = false
// convertYamlToJava = false
// precomputeOperations = true
// cacheEnvironment = true
// optimizeClassLoading = true
// deduceEnvironment = true
// optimizeNetty = true
// }
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。