-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.gradle
68 lines (61 loc) · 3.56 KB
/
settings.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
rootProject.name = 'ktor-gradle-template'
include('commons')
include('service')
dependencyResolutionManagement {
repositories {
mavenCentral()
}
versionCatalogs {
libs {
// junit5
version('junit-jupiter', junit_version.toString())
library('mockk', 'io.mockk:mockk:1.12.0')
library('assertk', 'com.willowtreeapps.assertk:assertk-jvm:0.24')
library('kotest', 'io.kotest:kotest-runner-junit5:5.8.0')
library('junit-jupiter-api', 'org.junit.jupiter', 'junit-jupiter-api').versionRef('junit-jupiter')
library('junit-jupiter-engine', 'org.junit.jupiter', 'junit-jupiter-engine').versionRef('junit-jupiter')
library('junit-jupiter-params', 'org.junit.jupiter', 'junit-jupiter-params').versionRef('junit-jupiter')
bundle('testImpl-testSuite', ['junit-jupiter-api', 'junit-jupiter-engine', 'junit-jupiter-params', 'mockk', 'assertk', 'kotest'])
// ktor
version('ktor', ktor_version.toString())
library('ktor-netty', 'io.ktor', 'ktor-server-netty').versionRef('ktor')
library('ktor-server-core', 'io.ktor', 'ktor-server-core').versionRef('ktor')
library('ktor-client-core', 'io.ktor', 'ktor-client-core-jvm').versionRef('ktor')
library('ktor-logging', 'io.ktor', 'ktor-server-call-logging').versionRef('ktor')
library('ktor-content-negotiation', 'io.ktor', 'ktor-server-content-negotiation').versionRef('ktor')
library('ktor-jackson', 'io.ktor', 'ktor-serialization-jackson').versionRef('ktor')
library('ktor-status-pages', 'io.ktor', 'ktor-server-status-pages').versionRef('ktor')
library('ktor-openapi', 'dev.forst:ktor-openapi-generator:0.6.1')
bundle(
'impl-ktor',
[
'ktor-netty',
'ktor-server-core',
'ktor-client-core',
'ktor-logging',
'ktor-content-negotiation',
'ktor-jackson',
'ktor-status-pages',
'ktor-openapi'
]
)
library('ktor-server-tests', 'io.ktor', 'ktor-server-tests').versionRef('ktor')
bundle('testImpl-ktor', ['ktor-server-tests'])
// logback
library('logback-classic', 'ch.qos.logback:logback-classic:1.4.14')
library('logback-encoder', 'net.logstash.logback:logstash-logback-encoder:6.0')
bundle('impl-logback', ['logback-classic','logback-encoder'])
// jackson
version('jackson', jackson_version.toString())
library('jackson-databind', 'com.fasterxml.jackson.core', 'jackson-databind').versionRef('jackson')
library('jackson-kotlin', 'com.fasterxml.jackson.module', 'jackson-module-kotlin').versionRef('jackson')
library('jackson-datatype', 'com.fasterxml.jackson.datatype', 'jackson-datatype-jsr310').versionRef('jackson')
bundle('impl-jackson',['jackson-databind','jackson-kotlin', 'jackson-datatype'])
// retrofit
version('retrofit', retrofit_version.toString())
library('retrofit-retrofit', 'com.squareup.retrofit2', 'retrofit').versionRef('retrofit')
library('retrofit-converter-jackson', 'com.squareup.retrofit2', 'converter-jackson').versionRef('retrofit')
bundle('impl-retrofit',['retrofit-retrofit','retrofit-converter-jackson'])
}
}
}