- 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>
推薦閱讀
- UI設(shè)計(jì)基礎(chǔ)培訓(xùn)教程
- C/C++算法從菜鳥到達(dá)人
- C#程序設(shè)計(jì)基礎(chǔ):教程、實(shí)驗(yàn)、習(xí)題
- Haxe Game Development Essentials
- BIM概論及Revit精講
- Go語言精進(jìn)之路:從新手到高手的編程思想、方法和技巧(2)
- Extending Unity with Editor Scripting
- SQL Server 2016 從入門到實(shí)戰(zhàn)(視頻教學(xué)版)
- Distributed Computing in Java 9
- Learning Concurrency in Python
- H5+移動(dòng)營(yíng)銷設(shè)計(jì)寶典
- Getting Started with Electronic Projects
- Visual Basic語言程序設(shè)計(jì)上機(jī)指導(dǎo)與練習(xí)(第3版)
- 一覽眾山小:ASP.NET Web開發(fā)修行實(shí)錄
- Unity 5 Game Optimization