-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
45 lines (39 loc) · 917 Bytes
/
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
plugins {
id 'play'
id 'idea'
}
task wrapper(type: Wrapper) {
gradleVersion = '3.1'
}
repositories {
jcenter()
maven {
name "typesafe-maven-release"
url "https://repo.typesafe.com/typesafe/maven-releases"
}
ivy {
name "typesafe-ivy-release"
url "https://repo.typesafe.com/typesafe/ivy-releases"
layout "ivy"
}
}
def playVersion = '2.5.14'
def scalaVersion = '2.11'
model {
components {
play {
platform play: playVersion, scala: scalaVersion, java: '1.8'
injectedRoutesGenerator = true
sources {
twirlTemplates {
defaultImports = TwirlImports.SCALA
}
}
}
}
}
dependencies {
['filters-helpers', 'play-logback'].each { playModule ->
play "com.typesafe.play:${playModule}_$scalaVersion:$playVersion"
}
}