-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
71 lines (59 loc) · 2.05 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
plugins {
id "com.exactpro.th2.gradle.base" version "0.1.3"
id "com.exactpro.th2.gradle.component" version "0.1.3" apply false
}
ext {
commonVersion = '5.14.0-dev'
cradleVersion = '5.4.3-dev'
}
dependencyCheck {
suppressionFile = "suppressions.xml"
}
subprojects {
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
compileJava.options.debugOptions.debugLevel = 'source,lines,vars' // Include debug information
group = 'com.exactpro.th2'
version = release_version
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/'
}
configurations.configureEach {
resolutionStrategy.cacheChangingModulesFor 0, 'seconds'
resolutionStrategy.cacheDynamicVersionsFor 0, 'seconds'
}
}
dependencies {
implementation "org.slf4j:slf4j-api"
testImplementation 'com.exactpro.th2:junit-jupiter-integration:0.0.1'
testImplementation 'org.mockito:mockito-core:5.14.1'
testImplementation 'org.mockito:mockito-junit-jupiter:5.14.1'
testImplementation 'org.junit.jupiter:junit-jupiter:5.11.4'
testRuntimeOnly('org.junit.platform:junit-platform-launcher') {
because 'This artifact will not be added automatically since gradle 9.0. You can read more information here:' +
'https://docs.gradle.org/8.3/userguide/upgrading_version_8.html#test_framework_implementation_dependencies'
}
}
test {
useJUnitPlatform {
excludeTags('integration')
}
}
tasks.register('integrationTest', Test) {
group = 'verification'
useJUnitPlatform {
includeTags('integration')
}
testLogging {
showStandardStreams = true
}
}
}