-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
97 lines (74 loc) · 2.44 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
buildscript {
dependencies {
classpath "org.postgresql:postgresql:42.2.5"
}
}
plugins {
id 'scala'
id 'java'
id 'application'
id "org.flywaydb.flyway" version "5.2.4"
}
group 'net.nextlogic.airsim'
version '1.0-SNAPSHOT'
//sourceCompatibility = 1.8
repositories {
mavenCentral()
jcenter()
flatDir {
dirs 'libs'
}
}
dependencies {
implementation 'org.scala-lang:scala-library:2.12.8'
testCompile group: 'org.scalatest', name: 'scalatest_2.12', version: '3.0.8'
testCompile group: 'org.scalamock', name: 'scalamock_2.12', version: '4.3.0'
implementation "org.msgpack:msgpack-core:0.8.13"
implementation "com.github.stampery:msgpack-rpc:0.7.1"
implementation "com.typesafe.play:play-json_2.12:2.7.4"
implementation "com.typesafe.slick:slick_2.12:3.2.0"
implementation "com.typesafe.slick:slick-hikaricp_2.12:3.2.0"
implementation "org.slf4j:slf4j-nop:1.6.4"
implementation "org.postgresql:postgresql:42.2.5"
implementation 'com.opencsv:opencsv:4.6'
compile group: 'com.typesafe.akka', name: 'akka-actor_2.12', version: '2.5.23'
compile group: 'com.typesafe.akka', name: 'akka-stream_2.12', version: '2.5.23'
implementation "com.lightbend.akka:akka-stream-alpakka-slick_2.12:1.1.1"
testCompile group: 'com.typesafe.akka', name: 'akka-testkit_2.12', version: '2.5.23'
implementation "org.jfree:jfreesvg:3.4"
implementation "net.java.jinput:jinput-platform:2.0.7"
implementation 'com.google.code.gson:gson:2.8.5'
compile fileTree(include: ['*.jar'], dir: 'libs')
testCompile group: 'junit', name: 'junit', version: '4.12'
compile group: 'org.scala-lang.modules', name: 'scala-swing_2.12', version: '2.1.1'
}
jar {
manifest {
attributes 'Main-Class': 'net.nextlogic.airsim.api.ui.MainWindow'
}
}
application {
//mainClassName = 'net.nextlogic.airsim.api.ui.MainWindow'
mainClassName = 'net.nextlogic.airsim.Simulator'
}
sourceSets {
main {
scala {
srcDirs = ['src/main/scala', 'src/main/java']
}
java {
srcDirs = []
}
}
}
task spec(dependsOn: ['testClasses'], type: JavaExec) {
main = 'org.scalatest.tools.Runner'
args = ['-R', 'build/classes/test', '-o']
classpath = sourceSets.test.runtimeClasspath
}
flyway {
driver='org.postgresql.Driver'
url='jdbc:postgresql://nl3/nextlgc_pe_game'
user='nextlgc'
password='dasa9045'
}