- Learning RxJava
- Thomas Nield
- 104字
- 2021-07-02 22:22:50
Using Maven
You also have the option to use Maven, and you can view the appropriate configuration in The Central Repository by selecting the Apache Maven configuration information, as shown in the following screenshot:

Select and then copy the Apache Maven configuration
You can then copy and paste the <dependency> block containing the RxJava configuration and paste it inside a <dependencies>block in your pom.xml file. Rebuild your project, and you should now have RxJava set up as a dependency. The x.y.z version number corresponds to the desired RxJava version that you want to use:
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>org.nield</groupId>
<artifactId>mavenrxtest</artifactId>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>io.reactivex.rxjava2</groupId>
<artifactId>rxjava</artifactId>
<version>x.y.z</version>
</dependency>
</dependencies>
</project>
推薦閱讀
- CentOS 7 Server Deployment Cookbook
- 深入理解Java7:核心技術(shù)與最佳實踐
- C語言從入門到精通(第4版)
- PHP從入門到精通(第4版)(軟件開發(fā)視頻大講堂)
- 速學(xué)Python:程序設(shè)計從入門到進階
- Scala編程(第5版)
- HTML+CSS+JavaScript編程入門指南(全2冊)
- 新印象:解構(gòu)UI界面設(shè)計
- 現(xiàn)代C:概念剖析和編程實踐
- Android移動應(yīng)用項目化教程
- Selenium WebDriver Practical Guide
- Test-Driven iOS Development with Swift
- Learning Cocos2d-JS Game Development
- INSTANT Premium Drupal Themes
- Java EE實用教程