Skip to content


Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

RxGroovy: Reactive Extensions for Groovy

This is a Groovy adapter to RxJava.

This adaptor allows 'groovy.lang.Closure' functions to be used and RxJava will know how to invoke them.

This enables code such as:

  Observable.just("one", "two", "three")
    .subscribe({arg -> println(arg)})

Master Build Status


Since RxGroovy is part of the RxJava family the communication channels are similar:


RxGroovy 1.0.x is based on RxJava 1.0.x. As of 1.0.0 semantic versioning will be used.

Full Documentation



For version 1.x:

Binaries and dependency information for Maven, Ivy, Gradle and others can be found at

Example for Maven:


and for Ivy:

<dependency org="io.reactivex" name="rxgroovy" rev="x.y.z" />

and for Gradle:

compile 'io.reactivex:rxgroovy:x.y.z'


To build:

$ git clone
$ cd RxGroovy/
$ ./gradlew build

Futher details on building can be found on the RxJava Getting Started page of the wiki.

Bugs and Feedback

For bugs, questions and discussions please use the Github Issues.


Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.