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

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>
主站蜘蛛池模板: 阿拉善左旗| 桃源县| 沧州市| 南宫市| 竹北市| 武功县| 青龙| 江永县| 洪雅县| 宜章县| 上犹县| 广灵县| 通许县| 修武县| 荆门市| 松原市| 萨嘎县| 来凤县| 卓资县| 开封市| 历史| 衢州市| 阳谷县| 寻乌县| 平武县| 武城县| 清水县| 枣庄市| 温泉县| 靖州| 中卫市| 普格县| 竹山县| 临沭县| 奉化市| 滦南县| 沙河市| 金寨县| 毕节市| 阳春市| 郧西县|