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
49 lines (42 loc) · 1.09 KB
/
Copy pathbuild.gradle
File metadata and controls
49 lines (42 loc) · 1.09 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
apply plugin: 'osgi'
repositories {
maven {
url 'http://deux.gemjars.org'
}
mavenCentral()
}
configurations {
rspec
}
sourceSets {
test {
resources {
srcDir 'src/spec/ruby'
}
}
}
dependencies {
compile project(':rxjava-core')
compile 'org.jruby:jruby:1.7+'
provided 'junit:junit-dep:4.10'
provided 'org.mockito:mockito-core:1.8.5'
rspec 'org.jruby:jruby-complete:1.7.4'
rspec 'org.rubygems:rspec:2.14.1'
}
/* // benjchristensen => commenting out until internal Netflix build system can handle ruby gems
task(rspec, type: JavaExec) {
main 'org.jruby.Main'
classpath configurations.rspec + runtimeClasspath
args 'classpath:bin/rspec', 'src/spec/ruby'
}
tasks.build.dependsOn << 'rspec'
*/
jar {
manifest {
name = 'rxjava-jruby'
instruction 'Bundle-Vendor', 'Netflix'
instruction 'Bundle-DocURL', 'https://github.com/Netflix/RxJava'
instruction 'Import-Package', '!org.junit,!junit.framework,!org.mockito.*,*'
instruction 'Fragment-Host', 'com.netflix.rxjava.core'
}
}