-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
77 lines (60 loc) · 2.11 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
plugins {
id "org.jetbrains.kotlin.jvm" version "1.8.22"
id "org.jetbrains.kotlin.kapt" version "1.8.22"
id("java-library")
id("maven-publish")
id "com.exactpro.th2.gradle.publish" version "0.0.6"
id "com.exactpro.th2.gradle.component" version "0.0.6"
id "me.champeau.jmh" version "0.7.2"
}
group = 'com.exactpro.th2'
version = release_version
kotlin {
jvmToolchain(11)
}
repositories {
mavenCentral()
maven {
name 'Sonatype_snapshots'
url 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
maven {
name 'Sonatype_releases'
url 'https://s01.oss.sonatype.org/content/repositories/releases/'
}
mavenLocal()
configurations.configureEach {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds'
}
}
dependencies {
implementation "com.exactpro.th2:common:5.10.1-dev"
implementation "com.exactpro.th2:common-utils:2.2.3-dev"
implementation "com.exactpro.th2:codec:5.5.0-dev"
implementation "jakarta.xml.bind:jakarta.xml.bind-api:4.0.2"
implementation'org.apache.avro:avro:1.11.3'
implementation('org.apache.commons:commons-compress:1.26.1') {
because("commons-compress:1.22 transitive dependency of avro:1.11.3 has vulnerabilities")
}
implementation 'commons-io:commons-io'
implementation "io.github.microutils:kotlin-logging:3.0.5"
compileOnly 'com.google.auto.service:auto-service:1.1.1'
kapt 'com.google.auto.service:auto-service:1.1.1'
jmh 'org.openjdk.jmh:jmh-core:1.37'
jmh 'org.openjdk.jmh:jmh-generator-annprocess:1.37'
jmhAnnotationProcessor 'org.openjdk.jmh:jmh-generator-annprocess:1.37'
testImplementation "org.jetbrains.kotlin:kotlin-test-junit"
testImplementation 'org.junit.jupiter:junit-jupiter:5.10.2'
testImplementation 'org.mockito.kotlin:mockito-kotlin:5.3.1'
testImplementation 'io.strikt:strikt-core:0.34.1'
}
application {
mainClass.set("com.exactpro.th2.codec.MainKt")
}
test {
useJUnitPlatform()
}
dependencyCheck {
suppressionFile='supressions.xml'
}