11plugins {
2- id ' org.gradle.playframework'
2+ id ' play'
3+ // id 'idea'
34}
45
5- java {
6- sourceCompatibility = JavaVersion . VERSION_1_8
7- targetCompatibility = JavaVersion . VERSION_1_8
8- }
9-
10- def playVer = " 2.6.20"
11- def scalaVer = System . getProperty(" scala.binary.version" , /* default = */ " 2.12" )
6+ def playVersion = " 2.6.20"
7+ def scalaVersion = System . getProperty(" scala.binary.version" , /* default = */ " 2.12" )
128
13- play {
14- platform {
15- playVersion = playVer
16- scalaVersion = scalaVer
17- javaVersion = JavaVersion . VERSION_1_8
9+ model {
10+ components {
11+ play {
12+ platform play : playVersion, scala : scalaVersion, java : ' 1.8'
13+ injectedRoutesGenerator = true
14+ }
1815 }
19- injectedRoutesGenerator = true
2016}
2117
2218dependencies {
23- implementation " com.typesafe.play:play-guice_$s calaVer : $p layVer "
24- implementation " com.typesafe.play:play-logback_$s calaVer : $p layVer "
25- implementation " com.typesafe.play:filters-helpers_$s calaVer : $p layVer "
19+ play " com.typesafe.play:play-guice_$s calaVersion : $p layVersion "
20+ play " com.typesafe.play:play-logback_$s calaVersion : $p layVersion "
21+ play " com.typesafe.play:filters-helpers_$s calaVersion : $p layVersion "
2622
27- implementation project(' :dd-trace-api' )
28- implementation project(' :dd-java-agent:benchmark-integration' )
29- implementation group : ' io.opentracing' , name : ' opentracing-api' , version : ' 0.32.0'
30- implementation group : ' io.opentracing' , name : ' opentracing-util' , version : ' 0.32.0'
23+ play project(' :dd-trace-api' )
24+ play project(' :dd-java-agent:benchmark-integration' )
25+ play group : ' io.opentracing' , name : ' opentracing-api' , version : ' 0.32.0'
26+ play group : ' io.opentracing' , name : ' opentracing-util' , version : ' 0.32.0'
3127}
3228
3329repositories {
@@ -43,12 +39,3 @@ repositories {
4339 layout " ivy"
4440 }
4541}
46-
47- spotless {
48- java {
49- target " **/*.java"
50- }
51- scala {
52- target " **/*.scala"
53- }
54- }
0 commit comments