-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
94 lines (77 loc) · 2.86 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
buildscript {
ext {
buildVersion = "0.0.1-SNAPSHOT"
springBootVersion = '2.1.1.RELEASE'
}
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
}
}
apply plugin: 'java'
apply plugin: 'idea'
apply plugin: 'org.springframework.boot'
apply plugin: 'io.spring.dependency-management'
jar {
baseName = "lua-skill-server"
version = "${buildVersion}"
manifest {
attributes 'Title': 'lua-skill-server',
'Version': 1.0,
'Main-Class': 'chatbot.api.LuaChatbotApplication'
}
from {
configurations.compile.collect {
it.isDirectory() ? it : zipTree(it)
}
}
}
group = 'kr.or.ikeeper'
version = '0.0.4'
description = """lua-skill-server"""
//sourceCompatibility = 1.8
//targetCompatibility = 1.8
sourceCompatibility = '11'
targetCompatibility = '11'
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
repositories {
mavenCentral()
}
dependencies {
compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-rest'
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web'
compile group: 'org.projectlombok', name: 'lombok', version:'1.18.4'
compile group: 'org.json', name: 'json', version:'20180813'
compile group: 'com.googlecode.json-simple', name: 'json-simple', version: '1.1.1'
compile group: 'io.jsonwebtoken', name: 'jjwt', version: '0.9.1'
compile group: 'javax.xml.bind', name: 'jaxb-api', version: '2.3.0'
compile group: 'com.sun.xml.bind', name: 'jaxb-core', version: '2.3.0'
compile group: 'com.sun.xml.bind', name: 'jaxb-impl', version: '2.3.0'
//spring security
compile('org.springframework.boot:spring-boot-starter-security')
//spring security oauth2
compile group: 'org.springframework.security.oauth', name: 'spring-security-oauth2', version: '2.3.4.RELEASE'
compile group: 'org.springframework.security', name: 'spring-security-oauth2-client', version: '5.1.3.RELEASE'
// compile group: 'org.springframework.boot', name: 'spring-boot-starter-data-jpa', version: '2.1.1.RELEASE'
// db
compile group: 'org.mybatis.spring.boot', name: 'mybatis-spring-boot-starter', version: '2.0.0'
compile group: 'org.mariadb.jdbc', name: 'mariadb-java-client', version: '2.3.0'
compile('org.springframework.boot:spring-boot-starter-batch')
// logging
compile 'ch.qos.logback:logback-classic:1.1.2'
compile 'ch.qos.logback:logback-core:1.1.2'
compile 'org.slf4j:slf4j-api:1.7.10'
compile 'org.codehaus.janino:janino:2.7.7'
//swagger
compile group: 'io.springfox', name: 'springfox-swagger2', version: '2.2.2'
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: '2.2.2'
testCompile('org.springframework.boot:spring-boot-starter-test')
// redis - lettuce(default)
compile('org.springframework.boot:spring-boot-starter-data-redis')
// rabbit mq
compile('org.springframework.boot:spring-boot-starter-amqp')
}