-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
100 lines (79 loc) · 2.88 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
98
99
100
allprojects {
apply plugin: "idea"
apply from: "idea.gradle"
task wrapper(type: Wrapper) {
gradleVersion = 2.3
}
}
buildscript {
repositories {
jcenter()
}
dependencies {
classpath "com.palantir:gradle-gitsemver:$git_semver_version"
}
}
repositories {
jcenter()
maven { url "https://clojars.org/repo" }
flatDir { dirs 'lib' }
}
apply plugin: "gitsemver"
apply plugin: "scala"
apply plugin: "distribution"
// In this section you declare the dependencies for your production and test code
dependencies {
// Scala
compile "org.scala-lang:scala-library:$scala_version"
compile "org.scala-lang:scala-compiler:$scala_version"
compile "org.scalaz:scalaz-core_2.11:$scalaz_version"
compile "jline:jline:$jline_version"
// Guava
compile "com.google.guava:guava:$guava_version"
// Concurrency
compile "com.typesafe.akka:akka-testkit_2.11:$akka_version"
compile "com.typesafe.akka:akka-actor_2.11:$akka_version"
compile "com.typesafe.akka:akka-remote_2.11:$akka_version"
// Groovy
runtime "org.codehaus.groovy:groovy-all:$groovy_version"
// Serialisation
compile "com.fasterxml.jackson.module:jackson-module-scala_2.11:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-databind:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
// In-memory store
compile "com.hazelcast:hazelcast:$hazelcast_version"
// DB server
compile "org.mapdb:mapdb:$mapdb_version"
// Web Server
compile "org.scalatra:scalatra_2.11:$scalatra_version"
compile "org.scalatra:scalatra-atmosphere_2.11:$scalatra_version"
// MIDI
compile name: "jfugue-5.0.1"
compile name: "jMusic1.6.4"
// Machine Learning Tools
compile name: "javaml-$javaml_version"
// Artificial Neural Network
compile name: "neuroph-core-2.9"
// Plotting
compile "com.quantifind:wisp_2.11:$wisp_version"
// Dependency Injection
//compile "net.codingwell:scala-guice_2.10:$scala_guice_version"
// Logging
compile("com.typesafe.akka:akka-slf4j_2.11:$akka_version") {
exclude group: "org.slf4j"
}
compile "ch.qos.logback:logback-classic:$logback_version"
// We use Scalatest for testing our library
testCompile "junit:junit:$junit_version"
testCompile "org.scalatest:scalatest_2.11:$scalatest_version"
testCompile "org.scalamock:scalamock-scalatest-support_2.11:$scalatest_mock_version"
//testCompile "org.mockito:mockito-all:$mockito_version"
testRuntime "org.scala-lang.modules:scala-xml_2.11:$scalaxml_version"
}
task run(type: JavaExec, dependsOn: classes) {
main = "demos.DemoCreateTrainingDataANN"
standardInput = System.in
classpath sourceSets.main.runtimeClasspath
classpath configurations.runtime
}