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

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>
主站蜘蛛池模板: 广安市| 元阳县| 博客| 理塘县| 区。| 高雄市| 临洮县| 东城区| 康保县| 中阳县| 托里县| 阿合奇县| 井陉县| 大石桥市| 彩票| 石林| 钟山县| 祁阳县| 广昌县| 尚义县| 富源县| 尼玛县| 永城市| 东乌珠穆沁旗| 京山县| 鄂托克前旗| 南京市| 定边县| 潍坊市| 东乡族自治县| 江安县| 新源县| 滨海县| 陇川县| 繁峙县| 鹰潭市| 内丘县| 兴仁县| 太谷县| 诸城市| 合川市|