浏览代码

Replace jar gradle task with bootJar task

Greg Turnquist 6 年前
父节点
当前提交
d0b7dd7112
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1
    1
      complete/build.gradle
  2. 1
    1
      initial/build.gradle

+ 1
- 1
complete/build.gradle 查看文件

13
 apply plugin: 'org.springframework.boot'
13
 apply plugin: 'org.springframework.boot'
14
 apply plugin: 'io.spring.dependency-management'
14
 apply plugin: 'io.spring.dependency-management'
15
 
15
 
16
-jar {
16
+bootJar {
17
     baseName = 'gs-spring-boot'
17
     baseName = 'gs-spring-boot'
18
     version =  '0.1.0'
18
     version =  '0.1.0'
19
 }
19
 }

+ 1
- 1
initial/build.gradle 查看文件

13
 apply plugin: 'org.springframework.boot'
13
 apply plugin: 'org.springframework.boot'
14
 apply plugin: 'io.spring.dependency-management'
14
 apply plugin: 'io.spring.dependency-management'
15
 
15
 
16
-jar {
16
+bootJar {
17
     baseName = 'gs-spring-boot'
17
     baseName = 'gs-spring-boot'
18
     version =  '0.1.0'
18
     version =  '0.1.0'
19
 }
19
 }