这表明Gradle
是最新的:
thufir@doge:~$ sudo apt install gradle
Reading package lists... Done
Building dependency tree
Reading state information... Done
gradle is already the newest version (2.10-1).
0 upgraded, 0 newly installed, 0 to remove and 629 not upgraded.
如何升级到Gradle
4.x?最好使用umake而非SDKMAN!这似乎是他们的建议。
(由于连接缓慢,我不想更新所有软件包。)
upgrade gradle
的The following packages have unmet dependencies. powershell : Depends: liblttng-ust0 but it is not installed
。我要运行这个sudo apt-get -f install
然后sudo apt-get -f install gradle
。这样,它将删除前一个,并从头开始安装最新的。