This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathbuild.gradle
49 lines (39 loc) · 1.53 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
buildscript {
ext.kotlin_version = "1.5.10"
ext.ktor_version = "1.6.0"
ext.opentracing_version = "0.33.0"
}
plugins {
id 'org.jetbrains.kotlin.jvm' version "$kotlin_version"
id 'java-library'
id "io.github.gradle-nexus.publish-plugin" version "1.1.0"
}
apply from: "${rootDir}/scripts/publish-root.gradle"
repositories {
mavenCentral()
}
dependencies {
implementation "io.github.microutils:kotlin-logging-jvm:2.0.8"
implementation "io.ktor:ktor-server-core:$ktor_version"
implementation "io.ktor:ktor-client-core:$ktor_version"
implementation "io.opentracing:opentracing-api:$opentracing_version"
implementation "io.opentracing:opentracing-noop:$opentracing_version"
implementation "io.opentracing:opentracing-util:$opentracing_version"
testImplementation 'org.jetbrains.kotlin:kotlin-test:1.4.31'
testImplementation 'org.jetbrains.kotlin:kotlin-test-junit:1.4.31'
testImplementation "org.junit.jupiter:junit-jupiter-api:5.4.2"
testImplementation "com.willowtreeapps.assertk:assertk-jvm:0.23"
testImplementation "io.opentracing:opentracing-mock:$opentracing_version"
testImplementation "io.ktor:ktor-server-tests:$ktor_version"
testImplementation "io.ktor:ktor-client-mock-jvm:$ktor_version"
testRuntime('org.junit.jupiter:junit-jupiter-engine:5.4.2')
}
test {
useJUnitPlatform()
}
ext {
PUBLISH_GROUP_ID = 'com.zopa'
PUBLISH_VERSION = '0.3.6'
PUBLISH_ARTIFACT_ID = 'ktor-opentracing'
}
apply from: "${rootProject.projectDir}/scripts/publish-module.gradle"