Xia Kaixiang | d15331b | 2019-05-13 16:09:09 +0800 | [diff] [blame] | 1 | plugins { |
| 2 | id 'war' |
| 3 | id 'org.springframework.boot' |
| 4 | id 'org.jetbrains.kotlin.jvm' |
| 5 | id 'org.jetbrains.kotlin.plugin.jpa' |
| 6 | id 'org.jetbrains.kotlin.plugin.spring' |
| 7 | } |
| 8 | |
binquan.qiu | 02c6503 | 2019-07-03 16:01:57 +0800 | [diff] [blame^] | 9 | |
Xia Kaixiang | d15331b | 2019-05-13 16:09:09 +0800 | [diff] [blame] | 10 | apply plugin: 'io.spring.dependency-management' |
| 11 | |
| 12 | group = 'com.supwisdom' |
| 13 | version = payapiVersion |
| 14 | sourceCompatibility = jdkVersion |
| 15 | |
| 16 | repositories { |
| 17 | mavenCentral() |
| 18 | } |
| 19 | |
| 20 | war { |
| 21 | manifest { |
| 22 | attributes('Payapi-Version': rootProject.version) |
| 23 | writeTo(project.buildDir.toString() + "/classes/MATE-INF.MF") |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | dependencies { |
| 28 | implementation 'org.springframework.boot:spring-boot-starter-data-jpa' |
binquan.qiu | ddba9ec | 2019-06-21 13:42:04 +0800 | [diff] [blame] | 29 | compile group: 'org.apache.poi', name: 'poi', version: '3.10.1' |
| 30 | compile group: 'org.apache.poi', name: 'poi-examples', version: '3.10.1' |
| 31 | compile group: 'org.apache.poi', name: 'poi-excelant', version: '3.10.1' |
| 32 | compile group: 'org.apache.poi',name: 'poi-ooxml', version:'3.10.1' |
| 33 | compile group: 'org.apache.poi',name: 'poi-ooxml-schemas', version:'3.10.1' |
| 34 | compile group: 'org.apache.poi',name: 'poi-scratchpad', version:'3.10.1' |
| 35 | |
binquan.qiu | 0ac0bdb | 2019-06-04 15:26:36 +0800 | [diff] [blame] | 36 | implementation 'org.springframework.boot:spring-boot-starter-tomcat' |
Xia Kaixiang | d15331b | 2019-05-13 16:09:09 +0800 | [diff] [blame] | 37 | implementation 'org.springframework.boot:spring-boot-starter-data-redis' |
| 38 | implementation 'org.springframework.boot:spring-boot-starter-web' |
| 39 | implementation 'org.springframework.boot:spring-boot-starter-security' |
| 40 | implementation 'org.springframework.security:spring-security-oauth2-client' |
| 41 | implementation 'org.springframework.security:spring-security-oauth2-jose' |
| 42 | implementation 'com.fasterxml.jackson.module:jackson-module-kotlin' |
| 43 | implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' |
| 44 | implementation 'org.springframework.session:spring-session-data-redis:2.0.10.RELEASE' |
| 45 | implementation 'org.jetbrains.kotlin:kotlin-reflect' |
| 46 | implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8' |
| 47 | |
| 48 | implementation 'org.postgresql:postgresql:42.2.5' |
| 49 | implementation 'com.jcabi:jcabi-manifests:1.1' |
| 50 | implementation 'org.bitbucket.b_c:jose4j:0.6.3' |
| 51 | implementation 'org.thymeleaf.extras:thymeleaf-extras-springsecurity5' |
| 52 | implementation 'org.springframework.social:spring-social-web:1.1.6.RELEASE' |
| 53 | implementation 'io.github.microutils:kotlin-logging:1.6.26' |
| 54 | implementation group: 'com.google.code.gson', name: 'gson', version: '2.8.5' |
| 55 | implementation group: 'com.sun.jersey', name: 'jersey-client', version: '1.19' |
| 56 | implementation group: 'javax.servlet', name: 'jstl', version: '1.2' |
| 57 | implementation group: 'taglibs', name: 'standard', version: '1.1.2' |
| 58 | implementation group: 'commons-codec', name: 'commons-codec', version: '1.6' |
Xia Kaixiang | 9019e96 | 2019-06-26 18:32:09 +0800 | [diff] [blame] | 59 | implementation 'org.apache.commons:commons-lang3:3.9' |
Xia Kaixiang | f605e21 | 2019-06-24 11:29:38 +0800 | [diff] [blame] | 60 | // implementation 'org.flywaydb:flyway-core' |
Xia Kaixiang | d15331b | 2019-05-13 16:09:09 +0800 | [diff] [blame] | 61 | // implementation group: 'javax.servlet.jsp', name: 'jsp-api', version: '2.1' |
| 62 | implementation group: 'log4j', name: 'log4j', version: '1.2.16' |
| 63 | implementation files('libs/ojdbc6.jar') |
| 64 | |
| 65 | |
| 66 | annotationProcessor "org.springframework.boot:spring-boot-configuration-processor" |
| 67 | |
| 68 | providedRuntime 'org.springframework.boot:spring-boot-starter-tomcat' |
| 69 | testImplementation 'org.springframework.boot:spring-boot-starter-test' |
| 70 | testImplementation 'io.rest-assured:rest-assured:3.3.0' |
| 71 | testImplementation 'io.rest-assured:spring-mock-mvc:3.3.0' |
| 72 | testImplementation 'org.hamcrest:hamcrest:2.1' |
| 73 | } |
| 74 | |
| 75 | compileKotlin { |
| 76 | kotlinOptions { |
| 77 | freeCompilerArgs = ['-Xjsr305=strict'] |
| 78 | jvmTarget = jdkVersion |
| 79 | } |
| 80 | } |
binquan.qiu | 02c6503 | 2019-07-03 16:01:57 +0800 | [diff] [blame^] | 81 | /* |
Xia Kaixiang | d15331b | 2019-05-13 16:09:09 +0800 | [diff] [blame] | 82 | compileTestKotlin { |
| 83 | kotlinOptions { |
| 84 | freeCompilerArgs = ['-Xjsr305=strict'] |
| 85 | jvmTarget = jdkVersion |
| 86 | } |
binquan.qiu | 02c6503 | 2019-07-03 16:01:57 +0800 | [diff] [blame^] | 87 | }*/ |