官术网_书友最值得收藏!

Navigating the Central Repository

To bring in RxJava as a dependency, you have a few options. The best place to start is to go to The Central Repository (search http://search.maven.org/) and search for rxjav. You should see RxJava 2.0 and RxJava 1.0 as separate repositories at the top of the search results, as shown in the following screenshot:

Searching for RxJava in the Central Repository (RxJava 2.0 and 1.0 are highlighted)

At the time of writing, RxJava 2.0.2 is the latest version for RxJava 2.0 and RxJava 1.2.3 is the latest for RxJava 1.0. You can download the latest JAR file for either by clicking the JAR links in the far right under the Download column. You can then configure your project to use the JAR file.

However, you might want to consider using Gradle or Maven to automatically import these libraries into your project. This way, you can easily share and store your code project (through GIT or other version control systems) without having to download and configure RxJava manually into it each time. To view the latest configurations for Maven, Gradle, and several other build automation systems, click on the version number for either of the repositories, as highlighted in the following screenshot:

Click the version number under the Latest Version column to view the configurations for Maven, Gradle, and other major build automation systems
主站蜘蛛池模板: 河间市| 德钦县| 琼中| 赣榆县| 晋江市| 乳山市| 孟州市| 如东县| 易门县| 梓潼县| 新巴尔虎左旗| 武汉市| 衢州市| 时尚| 苍梧县| 庄河市| 十堰市| 乌鲁木齐市| 宣化县| 虎林市| 陈巴尔虎旗| 和林格尔县| 泰州市| 安达市| 钟山县| 江安县| 双流县| 宜兰市| 大化| 杨浦区| 交城县| 青铜峡市| 娄烦县| 民和| 长顺县| 襄垣县| 双峰县| 永丰县| 寻甸| 古丈县| 边坝县|