apply plugin: 'maven' apply plugin: 'osgi' sourceCompatibility = JavaVersion.VERSION_1_6 targetCompatibility = JavaVersion.VERSION_1_6 dependencies { provided 'junit:junit-dep:4.10' provided 'org.mockito:mockito-core:1.8.5' } javadoc { // we do not want the org.rx.operations package include exclude '**/operations/**' options { doclet = "org.benjchristensen.doclet.DocletExclude" docletpath = [rootProject.file('./gradle/doclet-exclude.jar')] stylesheetFile = rootProject.file('./gradle/javadocStyleSheet.css') windowTitle = "RxJava Javadoc ${project.version}" } options.addStringOption('top').value = '

RxJava

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