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