Skip to content

Commit 4fdb947

Browse files
author
jmhofer
committed
Created extensions subdirectory for non-core additions to RxJava and
moved `SwingScheduler` into a new subproject `rxjava-swing`.
1 parent b4b635e commit 4fdb947

File tree

3 files changed

+51
-1
lines changed

3 files changed

+51
-1
lines changed

extensions/rxjava-swing/build.gradle

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
apply plugin: 'java'
2+
apply plugin: 'eclipse'
3+
apply plugin: 'idea'
4+
apply plugin: 'osgi'
5+
6+
sourceCompatibility = JavaVersion.VERSION_1_6
7+
targetCompatibility = JavaVersion.VERSION_1_6
8+
9+
dependencies {
10+
compile project(':rxjava-core')
11+
provided 'junit:junit:4.10'
12+
provided 'org.mockito:mockito-core:1.8.5'
13+
}
14+
15+
eclipse {
16+
classpath {
17+
// include 'provided' dependencies on the classpath
18+
plusConfigurations += configurations.provided
19+
20+
downloadSources = true
21+
downloadJavadoc = true
22+
}
23+
}
24+
25+
idea {
26+
module {
27+
// include 'provided' dependencies on the classpath
28+
scopes.PROVIDED.plus += configurations.provided
29+
}
30+
}
31+
32+
javadoc {
33+
options {
34+
doclet = "org.benjchristensen.doclet.DocletExclude"
35+
docletpath = [rootProject.file('./gradle/doclet-exclude.jar')]
36+
stylesheetFile = rootProject.file('./gradle/javadocStyleSheet.css')
37+
windowTitle = "RxJava Javadoc ${project.version}"
38+
}
39+
options.addStringOption('top').value = '<h2 class="title" style="padding-top:40px">RxJava</h2>'
40+
}
41+
42+
jar {
43+
manifest {
44+
name = 'rxjava-swing'
45+
instruction 'Bundle-Vendor', 'Netflix'
46+
instruction 'Bundle-DocURL', 'https://github.com/Netflix/RxJava'
47+
instruction 'Import-Package', '!org.junit,!junit.framework,!org.mockito.*,*'
48+
}
49+
}

settings.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ include 'rxjava-core', \
33
'language-adaptors:rxjava-groovy', \
44
'language-adaptors:rxjava-jruby', \
55
'language-adaptors:rxjava-clojure', \
6-
'language-adaptors:rxjava-scala'
6+
'language-adaptors:rxjava-scala', \
7+
'extensions:rxjava-swing'

0 commit comments

Comments
 (0)