加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
build.gradle 1.65 KB
一键复制 编辑 原始数据 按行查看 历史
wibim 提交于 2023-10-11 13:40 . 加入808协议
buildscript {
ext {
springBootVersion = '2.3.0.RELEASE'
transmodeGradleDockerVersion=1.2
}
repositories {
mavenLocal()
maven { url "http://maven.aliyun.com/nexus/content/groups/public/" }
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
classpath "io.franzbecker:gradle-lombok:3.1.0"
}
}
allprojects {
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
repositories {
mavenLocal()
maven { url "https://maven.aliyun.com/nexus/content/groups/public/" }
maven { url "https://repo.maven.apache.org/maven2" }
}
group = 'com.gps180'
version = '2.0'
}
subprojects {
apply plugin: 'java'
apply plugin: 'maven'
apply plugin: 'idea'
sourceCompatibility = 1.8
targetCompatibility = 1.8
ext {
fastjsonVersion = '1.2.70'
guavaVersion = '29.0-jre'
lombokVersion = '1.18.12'
mysqlConnectorVersion = '8.0.20'
mybatisPlusVersion = '3.3.2'
druidBootStarterVersion = '1.1.22'
nettyVersion = '4.1.49.Final'
}
[compileJava, compileTestJava].each() {
it.options.encoding = "UTF-8"
}
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
task packageSources(type: Jar) {
from sourceSets.main.allSource
}
artifacts.archives packageSources
dependencies {
annotationProcessor "org.projectlombok:lombok:${lombokVersion}"
compileOnly "org.projectlombok:lombok:${lombokVersion}"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化