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

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>
主站蜘蛛池模板: 桐柏县| 金湖县| 驻马店市| 静宁县| 西安市| 明溪县| 天柱县| 方山县| 开阳县| 陈巴尔虎旗| 门头沟区| 孟津县| 九龙县| 吴旗县| 新竹县| 江都市| 吉安市| 荣昌县| 吴堡县| 富源县| 阳新县| 平邑县| 万山特区| 邹城市| 扶余县| 清流县| 政和县| 祁门县| 葵青区| 墨脱县| 巴中市| 枣庄市| 内丘县| 西畴县| 南部县| 台北县| 济阳县| 绥阳县| 永丰县| 雅江县| 阳曲县|