1 Star 0 Fork 191

林智 / 基于 Gradle 编译的 SpringBoot 部署案例

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
build.gradle 778 Bytes
一键复制 编辑 原始数据 按行查看 历史
林智 提交于 2021-10-28 06:46 . update build.gradle.
buildscript {
ext {
springBootVersion='1.5.2.RELEASE'
}
dependencies {
// 让spring-boot支持gradle
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.5.2.RELEASE")
}
}
plugins {
id 'org.springframework.boot' version '1.5.2.RELEASE'
id 'java'
}
group 'com.bank'
version '1.0-SNAPSHOT'
sourceCompatibility = 1.8
targetCompatibility = 1.8
apply plugin: 'io.spring.dependency-management'
dependencies {
implementation 'org.springframework.boot:spring-boot-starter'
implementation 'org.springframework.boot:spring-boot-starter-web'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine'
}
//test {
// useJUnitPlatform()
//}
1
https://gitee.com/bryan_lin/spring-boot-gradle-deploy-case.git
git@gitee.com:bryan_lin/spring-boot-gradle-deploy-case.git
bryan_lin
spring-boot-gradle-deploy-case
基于 Gradle 编译的 SpringBoot 部署案例
master

搜索帮助