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

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>
主站蜘蛛池模板: 济阳县| 奇台县| 邻水| 河源市| 昌乐县| 阿图什市| 彝良县| 泰州市| 沂源县| 兴仁县| 新晃| 依安县| 广安市| 玉屏| 青海省| 拜泉县| 沿河| 讷河市| 东城区| 梨树县| 获嘉县| 龙海市| 建宁县| 沙雅县| 英山县| 临澧县| 阳谷县| 谷城县| 上栗县| 凉山| 平远县| 阳原县| 巫山县| 鄱阳县| 电白县| 新民市| 汉川市| 青海省| 隆德县| 文水县| 麻栗坡县|