- 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>
推薦閱讀
- 大話PLC(輕松動漫版)
- Visual Basic程序設計(第3版):學習指導與練習
- 算法精粹:經典計算機科學問題的Python實現
- 你必須知道的204個Visual C++開發問題
- TypeScript實戰指南
- 動手學數據結構與算法
- 響應式架構:消息模式Actor實現與Scala、Akka應用集成
- Programming with CodeIgniterMVC
- 零基礎學C語言第2版
- Python入門很輕松(微課超值版)
- 多媒體技術及應用
- Java RESTful Web Service實戰
- Laravel Design Patterns and Best Practices
- 川哥教你Spring Boot 2實戰
- IBM Cognos TM1 Cookbook