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

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
主站蜘蛛池模板: 惠安县| 南安市| 珠海市| 进贤县| 奉化市| 勃利县| 汾阳市| 丹凤县| 南召县| 沂源县| 奉贤区| 灯塔市| 建平县| 赤城县| 乐亭县| 苍梧县| 嘉黎县| 天长市| 迁安市| 淮北市| 万州区| 公主岭市| 平武县| 专栏| 资兴市| 高清| 水城县| 高碑店市| 赤峰市| 上犹县| 吴忠市| 高密市| 蓬溪县| 镇沅| 日照市| 石河子市| 惠东县| 格尔木市| 仙居县| 黑龙江省| 海兴县|