-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
41 lines (34 loc) · 844 Bytes
/
build.gradle
File metadata and controls
41 lines (34 loc) · 844 Bytes
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
group 'com.krish.scala'
version '1.0'
allprojects{
apply plugin: 'scala'
apply plugin: 'idea'
repositories{
mavenCentral()
mavenLocal()
}
dependencies{
compile 'org.slf4j:slf4j-api:1.7.5'
compile "org.scala-lang:scala-library:2.11.7"
compile "org.scala-lang:scala-compiler:2.11.7"
compile group: 'com.typesafe.akka', name: 'akka-actor_2.11', version: '2.4.8'
testCompile "junit:junit:4.11"
}
}
sourceSets {
main {
scala {
srcDirs = ['src/main/scala']
}
}
test {
scala {
srcDirs = ['src/test/scala']
}
}
}
task helloScala1(type: JavaExec, dependsOn: classes) {
main = 'com.basicScala.HelloScala1'
classpath sourceSets.main.runtimeClasspath
classpath configurations.runtime
}