-
Notifications
You must be signed in to change notification settings - Fork 18
/
build.gradle
72 lines (65 loc) · 1.79 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
plugins {
id 'java-gradle-plugin'
id 'com.gradle.plugin-publish' version '0.12.0'
id 'groovy'
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(11))
}
}
jar {
manifest {
attributes 'Implementation-Version': project.version
}
}
repositories {
mavenCentral()
gradlePluginPortal()
}
dependencies {
implementation "io.gatling:gatling-enterprise-plugin-commons:1.9.3"
implementation "io.gatling:gatling-shared-cli:0.0.3"
constraints {
implementation('com.fasterxml.jackson.core:jackson-databind') {
version {
strictly '2.14.3'
}
because 'some gradle versions have bug with multi-jdk jar, introduced in jackson-databind 2.15.' +
'cf. https://github.com/gradle/gradle/issues/24390'
}
}
testImplementation('org.spockframework:spock-core:2.3-groovy-3.0') {
exclude module: 'groovy-all'
}
testImplementation 'org.spockframework:spock-junit4:2.3-groovy-3.0'
testImplementation('com.github.stefanbirkner:system-rules:1.19.0') {
exclude module: 'junit-dep'
}
testImplementation "junit:junit:4.13.2"
testImplementation "commons-io:commons-io:2.11.0"
}
test {
testLogging {
events "passed", "skipped", "failed"
exceptionFormat "full"
showStandardStreams = false
}
useJUnitPlatform()
}
gradlePlugin {
plugins {
gatlingPlugin {
id = "io.gatling.gradle"
implementationClass = 'io.gatling.gradle.GatlingPlugin'
displayName = "Gatling plugin for Gradle"
description = "Gatling plugin for Gradle"
}
}
}
pluginBundle {
website = 'https://github.com/gatling/gatling-gradle-plugin'
vcsUrl = 'https://github.com/gatling/gatling-gradle-plugin'
tags = ['gatling', 'load test', 'stress test', 'performance test', 'java', 'scala', 'kotlin']
}
validatePlugins.failOnWarning = false