forked from ReactiveX/RxJava
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
51 lines (44 loc) · 1.27 KB
/
build.gradle
File metadata and controls
51 lines (44 loc) · 1.27 KB
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
apply plugin: 'scala'
apply plugin: 'osgi'
tasks.withType(ScalaCompile) {
scalaCompileOptions.fork = true
scalaCompileOptions.unchecked = true
scalaCompileOptions.setAdditionalParameters(['-feature'])
configure(scalaCompileOptions.forkOptions) {
memoryMaximumSize = '1g'
jvmArgs = ['-XX:MaxPermSize=512m']
}
}
sourceSets {
main {
scala {
srcDir 'src/main/scala'
}
}
test {
scala {
srcDir 'src/test/scala'
}
}
}
dependencies {
compile project(':rxjava-core')
compile project(':language-adaptors:rxjava-scala')
compile 'org.scalaz:scalaz-core_2.10:7.0.4'
testCompile 'org.scalaz:scalaz-scalacheck-binding_2.10:7.0.4'
testCompile 'org.typelevel:scalaz-specs2_2.10:0.1.2'
testCompile 'junit:junit-dep:4.10'
}
task repl(type: Exec) {
commandLine 'scala', '-cp', sourceSets.test.runtimeClasspath.asPath
standardInput = System.in
}
jar {
manifest {
name = 'rxjava-scalaz'
instruction 'Bundle-Vendor', 'Netflix'
instruction 'Bundle-DocURL', 'https://github.com/Netflix/RxJava'
instruction 'Import-Package', '!org.junit,!junit.framework,!org.mockito.*,!org.scalatest.*,*'
instruction 'Fragment-Host', 'com.netflix.rxjava.core'
}
}