apply plugin: 'java'

mainClassName = 'com.qxgmat.Application'

repositories {
    mavenLocal()
    maven { url = "http://maven.aliyun.com/nexus/content/groups/public" }
    mavenCentral()
}

bootJar {
    classifier = 'boot'
    manifest {
        attributes 'Start-Class': mainClassName
    }
    excludeDevtools = false
}

dependencies {
    // shiro
//    compile(libraries."shiro-core", libraries."shiro-spring", libraries."shiro-cache")
    compile(libraries."shiro")

    // druid
    compile('com.alibaba:druid-spring-boot-starter:1.1.10')

    // swagger
    compile(libraries."springfox-bean-validators", libraries."springfox-swagger2", libraries."springfox-swagger-ui")

    compile 'com.github.penggle:kaptcha:2.3.2'

//    compile group: 'commons-lang', name: 'commons-lang', version:'2.6'
//    compile group: 'commons-fileupload', name: 'commons-fileupload', version:'1.3.3'
//    compile group: 'commons-io', name: 'commons-io', version:'2.6'
//    compile group: 'commons-codec', name: 'commons-codec', version:'1.11'
//    compile group: 'commons-configuration', name: 'commons-configuration', version:'1.10'
}