## Getting Binaries You can find binaries and dependency information for Maven, Ivy, Gradle, SBT, and others at [http://search.maven.org](https://search.maven.org/search?q=g:io.reactivex.rxjava4%20AND%20rxjava). Example for Maven: ```xml io.reactivex.rxjava4 rxjava 4.0.0 ``` and for Ivy: ```xml ``` and for SBT: ```scala libraryDependencies += "io.reactivex" %% "rxscala" % "0.26.5" libraryDependencies += "io.reactivex.rxjava4" % "rxjava" % "4.0.0" ``` and for Gradle: ```groovy implementation 'io.reactivex.rxjava4:rxjava:4.0.0' ``` If you need to download the jars instead of using a build system, create a Maven `pom` file like this with the desired version: ```xml 4.0.0 io.reactivex.rxjava4 rxjava 3.0.4 RxJava Reactive Extensions for Java https://github.com/ReactiveX/RxJava io.reactivex.rxjava4 rxjava 4.0.0 ``` Then execute: ``` $ mvn -f download-rxjava-pom.xml dependency:copy-dependencies ``` That command downloads `rxjava-*.jar` and its dependencies into `./target/dependency/`. You need Java 6 or later. ### Snapshots Snapshots after May 1st, 2021 are available via https://oss.sonatype.org/content/repositories/snapshots/io/reactivex/rxjava4/rxjava/ ```groovy repositories { maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } } dependencies { implementation 'io.reactivex.rxjava4:rxjava:4.0.0-SNAPSHOT' } ``` JavaDoc snapshots are available at http://reactivex.io/RxJava/4.x/javadoc/snapshot ## Building To check out and build the RxJava source, issue the following commands: ``` $ git clone git@github.com:ReactiveX/RxJava.git $ cd RxJava/ $ ./gradlew build ``` To do a clean build, issue the following command: ``` $ ./gradlew clean build ``` A build should look similar to this: ``` $ ./gradlew build :rxjava:compileJava :rxjava:processResources UP-TO-DATE :rxjava:classes :rxjava:jar :rxjava:sourcesJar :rxjava:signArchives SKIPPED :rxjava:assemble :rxjava:licenseMain UP-TO-DATE :rxjava:licenseTest UP-TO-DATE :rxjava:compileTestJava :rxjava:processTestResources UP-TO-DATE :rxjava:testClasses :rxjava:test :rxjava:check :rxjava:build BUILD SUCCESSFUL Total time: 30.758 secs ``` On a clean build you will see the unit tests run. They will look something like this: ``` > Building > :rxjava:test > 91 tests completed ```