12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- group 'meeting-cms'
- version '1.0-SNAPSHOT'
- //apply plugin: 'war'
- apply plugin: 'java'
- apply plugin: 'idea'
- apply plugin: 'org.springframework.boot'
- def env = System.getProperty("env") ?: "dev"
- ext["thymeleaf.version"] = "3.0.9.RELEASE"
- ext["thymeleaf-layout-dialect.version"] = "2.3.0"
- sourceSets {
- main {
- resources {
- srcDirs = ["src/main/resources", "src/main/profile/$env"]
- }
- }
- }
- buildscript {
- repositories {
- mavenLocal()
- mavenCentral()
- }
- dependencies {
- classpath group: 'org.springframework.boot', name: 'spring-boot-gradle-plugin', version: '1.5.10.RELEASE'
- }
- }
- repositories {
- mavenLocal()
- mavenCentral()
- }
- dependencies {
- compile ('org.springframework.boot:spring-boot-starter-web'){
- //打war包需要把内置tomcat排除
- //exclude module:"spring-boot-starter-tomcat"
- } //web
- compile 'org.springframework.boot:spring-boot-starter-data-redis' //redis
- compile 'org.springframework.boot:spring-boot-starter-data-jpa' //orm
- //前端解析
- compile 'org.springframework.boot:spring-boot-starter-thymeleaf'
- compile 'net.sourceforge.nekohtml:nekohtml:1.9.22'
- compile 'com.alibaba:druid:1.1.6'
- compile 'mysql:mysql-connector-java:5.1.45'
- //网络请求
- compile group: 'com.squareup.okhttp3', name: 'okhttp', version: '3.10.0'
- //compile 'org.springframework.boot:spring-boot-devtools'
-
- compile group: 'org.jodconverter', name: 'jodconverter-core', version: '4.2.0'
- compile group: 'org.jodconverter', name: 'jodconverter-local', version: '4.2.0'
- compile group: 'org.apache.commons', name: 'commons-pool2', version: '2.5.0'
- compile group: 'org.projectlombok', name: 'lombok', version: '1.16.20'
- }
|