1 Star 0 Fork 0

独孤九剑/Micronaut

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 1.80 KB
一键复制 编辑 原始数据 按行查看 历史
独孤九剑 提交于 2023-11-17 12:40 . Update maven repositories.
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
// }
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/843294669/micronaut.git
git@gitee.com:843294669/micronaut.git
843294669
micronaut
Micronaut
master

搜索帮助