加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.39 KB
一键复制 编辑 原始数据 按行查看 历史
如梦技术 提交于 2023-01-02 18:35 . Merge branch '2.x'
apply plugin: "java-library"
apply from: "${rootProject.projectDir}/gradle/publish-maven.gradle"
ext {
javaVersion = JavaVersion.VERSION_17
springBootVersion = "3.0.1"
lombokVersion = "1.18.24"
googleAutoVersion = "1.0.1"
compileTestingVersion = '0.21.0'
incapVersion = "0.3"
}
group = GROUPID
version = VERSION
allprojects {
apply plugin: 'java'
sourceCompatibility = javaVersion
targetCompatibility = javaVersion
}
tasks.withType(JavaCompile) {
options.encoding = "UTF-8"
options.compilerArgs << "-Xlint:unchecked" << "-Xlint:deprecation"
}
dependencies {
api "org.springframework.boot:spring-boot-configuration-processor:$springBootVersion"
api "org.springframework.boot:spring-boot-autoconfigure-processor:$springBootVersion"
compileOnly "org.projectlombok:lombok:$lombokVersion"
annotationProcessor "org.projectlombok:lombok:$lombokVersion"
compileOnly "com.google.auto.service:auto-service:$googleAutoVersion"
annotationProcessor "com.google.auto.service:auto-service:$googleAutoVersion"
compileOnly "net.ltgt.gradle.incap:incap:$incapVersion"
annotationProcessor "net.ltgt.gradle.incap:incap-processor:$incapVersion"
testImplementation "com.google.testing.compile:compile-testing:$compileTestingVersion"
testImplementation "net.ltgt.gradle.incap:incap:$incapVersion"
}
repositories {
mavenLocal()
mavenCentral()
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化