forked from hmcts/lau-performance
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
64 lines (64 loc) · 1.97 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
plugins {
id 'org.owasp.dependencycheck' version '6.0.1'
id 'scala'
id 'com.github.lkishalmi.gatling' version '3.0.2'
//id 'java-gradle-plugin'
id 'groovy'
id 'com.gradle.plugin-publish' version '0.9.8'
id 'maven-publish'
id 'application'
}
//apply plugin: 'java'
apply plugin: 'scala'
apply plugin: 'application'
group 'uk.gov.hmcts.reform'
version = '1.0'
sourceCompatibility = "11"
targetCompatibility = "11"
tasks.withType(JavaExec) {
jvmArgs = ['-Xms1024m', '-Xmx2048m']
/* Use the following args to build a report when a test was terminated
args = [
"--reports-only", "fact-20201109092032896",
'--results-folder', file('build/reports/gatling').absolutePath,
]
*/
}
repositories {
jcenter()
}
ScalaCompileOptions.metaClass.daemonServer = true
ScalaCompileOptions.metaClass.fork = true
ScalaCompileOptions.metaClass.useAnt = false
ScalaCompileOptions.metaClass.useCompileDaemon = false
ext {
gatlingVersion = '3.3.1'
scalaVersion = '2.12.12'
}
dependencies {
compile "org.scala-lang:scala-library:${scalaVersion}"
gatling "io.gatling:gatling-app:${gatlingVersion}"
gatling "io.gatling.highcharts:gatling-charts-highcharts:${gatlingVersion}"
//gatlingImplementation "groupio.rest-assured:rest-assured:4.3.1"
gatling "com.warrenstrange:googleauth:1.5.0"
}
gatling {
toolVersion '3.3.1'
scalaVersion '2.12.12'
simulations = [ 'uk.gov.hmcts.reform.LandA.performance.simulations.mainSimulation'
]
}
test {
testLogging {
showStandardStreams = true
}
dependsOn("publishToMavenLocal")
systemProperty "com.github.lkishalmi.gatling.version", project.version
}
pluginBundle {
website = 'https://github.com/lkishalmi/gradle-gatling-plugin'
vcsUrl = 'https://github.com/lkishalmi/gradle-gatling-plugin'
description = 'Gatling Simulation Execution'
tags = ['gatling', 'load test', 'stress test', 'performance test', 'scala']
}
ext ['netty.version'] = '4.0.51.Final'