-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
54 lines (40 loc) · 1.17 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
plugins {
id "scala"
id "maven"
}
group = 'apsu'
version = '1.0-SNAPSHOT'
ext {
scalaMajorVersion = '2.12'
scalaMinorVersion = '1'
scalaVersion = "${scalaMajorVersion}.${scalaMinorVersion}"
}
repositories {
mavenCentral()
mavenLocal()
}
dependencies {
// ------------------------------------------------------------
// Platform
compile "org.scala-lang:scala-library:${scalaVersion}"
compile "org.scala-lang:scala-reflect:${scalaVersion}"
// ------------------------------------------------------------
// Misc. libraries
compile 'log4j:log4j:1.2.17'
compile 'com.fasterxml.uuid:java-uuid-generator:3.1.3'
// ------------------------------------------------------------
// Testing
testCompile "org.scalatest:scalatest_${scalaMajorVersion}:3.0.1"
testCompile 'junit:junit:4.11'
testCompile 'org.mockito:mockito-core:1.9.5'
testRuntime 'org.pegdown:pegdown:1.1.0'
}
task wrapper(type: Wrapper) {
gradleVersion = '3.3'
}
task scalaTest(dependsOn: ['testClasses'], type: JavaExec) {
main = 'org.scalatest.tools.Runner'
args = ['-R', 'build/classes/test', '-o']
classpath = sourceSets.test.runtimeClasspath
}
test.dependsOn scalaTest