buildscript { ext { springBootVersion = '1.5.12.RELEASE' } repositories { mavenCentral() } dependencies { classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}") } } apply plugin: 'java' apply plugin: 'eclipse-wtp' apply plugin: 'org.springframework.boot' jar { manifest { attributes 'Title':'ESN_DAEMON','Version':1.0,'Main-Class':'com.northbr.esn.daemon.EsnDaemonApplication' } baseName 'ESN' dependsOn configurations.runtime from { configurations.compile.collect {it.isDirectory()? it: zipTree(it)} } exclude 'META-INF/*.RSA','META-INF/*.SF','META-INF/*.DSA' } group = 'com.northbr.esn.daemon' sourceCompatibility = 1.8 repositories { mavenCentral() maven { url "https://code.lds.org/nexus/content/groups/main-repo"} } configurations { providedRuntime } dependencies { compile('org.springframework.boot:spring-boot-starter-web') compile('org.mybatis.spring.boot:mybatis-spring-boot-starter:1.3.2') compile('org.springframework.boot:spring-boot-starter-security') runtime('org.springframework.boot:spring-boot-devtools') compile group: 'org.codehaus.janino', name: 'janino', version: '3.0.6' compileOnly('org.projectlombok:lombok') // compile('com.oracle:ojdbc6:11.2.0.3') compile group: 'commons-io', name: 'commons-io', version: '2.6' compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1' // compile files('libs/tibero6-jdbc-14.jar') compile fileTree(dir: 'libs', include: ['*.jar']) compile 'org.postgresql:postgresql:42.2.2' compile 'com.github.ulisesbocchio:jasypt-spring-boot-starter:1.17' compile 'org.springframework.session:spring-session-core:2.0.2.RELEASE' compile('org.springframework.session:spring-session') compile group: 'org.springframework.data', name: 'spring-data-redis', version: '2.0.6.RELEASE' compile 'io.jsonwebtoken:jjwt:0.7.0' // https://mvnrepository.com/artifact/org.springframework.mobile/spring-mobile-device compile group: 'org.springframework.mobile', name: 'spring-mobile-device', version: '1.1.5.RELEASE' // https://mvnrepository.com/artifact/org.apache.commons/commons-lang3 compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.1' // https://mvnrepository.com/artifact/commons-codec/commons-codec compile group: 'commons-codec', name: 'commons-codec', version: '1.11' // https://mvnrepository.com/artifact/net.lingala.zip4j/zip4j compile group: 'net.lingala.zip4j', name: 'zip4j', version: '1.3.2' compile group: 'com.google.code.gson', name: 'gson', version: '2.8.5' // https://mvnrepository.com/artifact/org.apache.httpcomponents/httpclient compile group: 'org.apache.httpcomponents', name: 'httpclient', version: '4.5.2' // https://mvnrepository.com/artifact/org.apache.httpcomponents/httpcore compile group: 'org.apache.httpcomponents', name: 'httpcore', version: '4.4.4' // https://mvnrepository.com/artifact/com.google.code.gson/gson compile group: 'com.google.code.gson', name: 'gson', version: '2.7' // compile 'org.apache.httpcomponents:httpclient:4.5.6' // compile group: 'net.shibboleth.utilities', name: 'trustany-ssl', version: '1.0.0' // compile 'io.springfox:springfox-swagger2:2.6.1' // compile 'io.springfox:springfox-swagger-ui:2.6.1' providedRuntime('org.springframework.boot:spring-boot-starter-tomcat') //testCompile('org.springframework.boot:spring-boot-starter-test') //testCompile('org.springframework.security:spring-security-test') }