Tang Cheng | d0f4414 | 2019-12-20 08:59:14 +0800 | [diff] [blame^] | 1 | plugins { |
| 2 | id "java-library" |
| 3 | id "org.springframework.boot" |
| 4 | } |
| 5 | |
| 6 | jar { |
| 7 | enabled = true |
| 8 | archiveFileName = "${project.name}-${buildVersion}.${archiveExtension.getOrElse('.jar')}" |
| 9 | manifest { |
| 10 | attributes('Implementation-Title': project.name, |
| 11 | 'Implementation-Version': buildVersion) |
| 12 | } |
| 13 | } |
| 14 | println("Build Version: $buildVersion") |
| 15 | bootJar { |
| 16 | enabled = false |
| 17 | } |
| 18 | |
| 19 | dependencies { |
| 20 | implementation "org.springframework.boot:spring-boot-autoconfigure" |
| 21 | implementation "commons-beanutils:commons-beanutils:${beanutilsVersion}" |
| 22 | implementation "commons-codec:commons-codec:${codecVersion}" |
| 23 | implementation "org.apache.commons:commons-lang3:${lang3Version}" |
| 24 | |
| 25 | compileOnly "org.projectlombok:lombok:${lombokVersion}" |
| 26 | annotationProcessor "org.projectlombok:lombok:${lombokVersion}" |
| 27 | } |
| 28 | |