@@ -8,13 +8,14 @@ buildscript {
88 }
99}
1010plugins {
11+ id ' java'
12+ id ' scala'
1113 id ' jacoco'
1214 id ' org.jooq.jooq-codegen-gradle' version ' 3.19.26'
1315 id ' de.undercouch.download' version ' 5.4.0'
1416 id ' org.springframework.boot' version ' 3.5.6'
1517 id ' io.spring.dependency-management' version ' 1.1.0'
16- id ' io.gatling.gradle' version ' 3.9.5'
17- id ' java'
18+ id ' io.gatling.gradle' version ' 3.14.9'
1819 id ' maven-publish'
1920}
2021apply plugin : ' org.hibernate.orm'
@@ -40,7 +41,7 @@ def versions = [
4041 commons_lang3 : ' 3.12.0' ,
4142 jaxb_api : ' 2.3.1' ,
4243 jaxb_impl : ' 2.3.8' ,
43- gatling : ' 3.9.5 ' ,
44+ gatling : ' 3.14.9 ' ,
4445 loki4j : ' 1.4.2' ,
4546 jedis : ' 6.2.0'
4647]
@@ -71,6 +72,22 @@ configurations {
7172 gatling. exclude group : " io.gatling.highcharts" , module : " gatling-charts-highcharts"
7273}
7374
75+ dependencyManagement {
76+ gatling {
77+ dependencies {
78+ dependencySet(group : ' io.netty' , version : ' 4.2.7.Final' ) {
79+ entry ' netty-codec-http'
80+ entry ' netty-codec'
81+ entry ' netty-handler'
82+ entry ' netty-buffer'
83+ entry ' netty-transport'
84+ entry ' netty-common'
85+ entry ' netty-transport-native-epoll'
86+ }
87+ }
88+ }
89+ }
90+
7491dependencies {
7592 implementation(' org.springframework.boot:spring-boot-starter-web' )
7693 implementation ' org.springframework.boot:spring-boot-starter-jetty'
@@ -226,5 +243,11 @@ jacocoTestReport {
226243 dependsOn test // tests are required to run before generating the report
227244}
228245
246+ tasks. withType(ScalaCompile ). configureEach {
247+ scalaCompileOptions. forkOptions. with {
248+ jvmArgs = [' -Xss100m' ] // Scala compiler may require a larger stack size when compiling Gatling simulations
249+ }
250+ }
251+
229252apply from : ' dependencies.gradle'
230253apply from : ' test-extensions.gradle'
0 commit comments