This repository has been archived by the owner on Apr 23, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 111
/
Copy pathbuild.gradle
65 lines (55 loc) · 1.66 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
plugins {
id 'play'
id 'idea'
id "com.github.lkishalmi.gatling" version "0.7.1"
}
def playVersion = "2.7.0"
def scalaVersion = System.getProperty("scala.binary.version", /* default = */ "2.12")
def gatlingVersion = "3.0.0.1"
model {
components {
play {
platform play: playVersion, scala: scalaVersion, java: '1.8'
injectedRoutesGenerator = true
sources {
twirlTemplates {
defaultImports = TwirlImports.SCALA
}
}
}
}
}
project.sourceSets {
gatling {
scala.srcDirs = ["gatling"]
}
}
gatling {
sourceRoot = "gatling"
simulationsDir = "gatling"
toolVersion = gatlingVersion
}
dependencies {
play "com.typesafe.play:play-guice_$scalaVersion:$playVersion"
play "com.typesafe.play:play-logback_$scalaVersion:$playVersion"
play "com.typesafe.play:filters-helpers_$scalaVersion:$playVersion"
play "org.joda:joda-convert:2.1.2"
play "net.logstash.logback:logstash-logback-encoder:5.6"
play "com.netaporter:scala-uri_$scalaVersion:0.4.16"
play "net.codingwell:scala-guice_$scalaVersion:4.2.1"
playTest "org.scalatestplus.play:scalatestplus-play_$scalaVersion:4.0.0-RC2"
playTest "io.gatling.highcharts:gatling-charts-highcharts:$gatlingVersion"
playTest "io.gatling:gatling-test-framework:$gatlingVersion"
}
repositories {
jcenter()
maven {
name "lightbend-maven-releases"
url "https://repo.lightbend.com/lightbend/maven-release"
}
ivy {
name "lightbend-ivy-release"
url "https://repo.lightbend.com/lightbend/ivy-releases"
layout "ivy"
}
}