Skip to content

Commit

Permalink
Add OSGi manifest headers
Browse files Browse the repository at this point in the history
ReactiveX/RxJava#154

I can't confirm that these work but submitting based on discussion on issue #154.
  • Loading branch information
benjchristensen committed Mar 12, 2013
1 parent 5381571 commit a9e1b0f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
apply plugin: 'scala'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'osgi'

tasks.withType(ScalaCompile) {
scalaCompileOptions.fork = true
Expand Down Expand Up @@ -50,4 +51,13 @@ idea {
// include 'provided' dependencies on the classpath
scopes.PROVIDED.plus += configurations.provided
}
}

jar {
manifest {
name = 'rxjava-scala'
instruction 'Bundle-Vendor', 'Netflix'
instruction 'Bundle-DocURL', 'https://github.com/Netflix/RxJava'
instruction 'Import-Package', '!org.junit,!junit.framework,!org.mockito.*,*'
}
}

0 comments on commit a9e1b0f

Please sign in to comment.