12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- apply plugin: 'java'
- mainClassName = 'com.qxgmat.Application'
- repositories {
- mavenLocal()
- maven { url = "http://maven.aliyun.com/nexus/content/groups/public" }
- mavenCentral()
- }
- dependencies {
-
- compileClasspath libraries."shiro"
- testCompile libraries."shiro"
-
- compileClasspath 'com.alibaba:druid-spring-boot-starter:1.1.10'
- testCompile 'com.alibaba:druid-spring-boot-starter:1.1.10'
-
- compileClasspath libraries."springfox-bean-validators", libraries."springfox-swagger2", libraries."springfox-swagger-ui"
- testCompile libraries."springfox-bean-validators", libraries."springfox-swagger2", libraries."springfox-swagger-ui"
- compileClasspath 'com.github.penggle:kaptcha:2.3.2'
- testCompile 'com.github.penggle:kaptcha:2.3.2'
-
- compileClasspath group: 'org.apache.poi', name: 'poi', version: '3.17'
- testCompile group: 'org.apache.poi', name: 'poi', version: '3.17'
- compileClasspath group: 'org.apache.poi', name: 'poi-ooxml', version: '3.17'
- testCompile group: 'org.apache.poi', name: 'poi-ooxml', version: '3.17'
- compileClasspath group: 'com.itextpdf', name: 'itextpdf', version: '5.5.13.1'
- testCompile group: 'com.itextpdf', name: 'itextpdf', version: '5.5.13.1'
- compileClasspath group: 'com.itextpdf', name: 'itext-asian', version: '5.2.0'
- testCompile group: 'com.itextpdf', name: 'itext-asian', version: '5.2.0'
- }
- bootJar {
- classifier = 'boot'
-
- dependsOn clearJar
- dependsOn copyJar
- manifest {
-
-
- attributes 'Main-Class': 'org.springframework.boot.loader.PropertiesLauncher'
- attributes 'Start-Class': mainClassName
- }
- excludeDevtools = true
- }
- bootRun {
- dependsOn copyJar
- classpath +=files(fileTree(dir:"${libsDir}/lib/",include:['*.jar']))
- }
|