- 博客(3)
- 问答 (1)
- 收藏
- 关注
转载 获取gradle项目的所有依赖jar包
获取gradle项目的所有依赖jar包 在项目的build.gradle文件中,添加以下插件 plugins { id 'java' } 以及下面的任务 task copyJars(type: Copy) { from configurations.runtime into 'lib' // 目标位置 } 运行copyJars任务即可把所有依赖包复制到项目文件夹中的lib文件夹下。 参考文章 ...
2021-02-07 10:42:59
2629
原创 JEditorPane刷新当前html页面
JEditorPane刷新当前html页面 在使用JEditorPane显示html页面时,当页面出现变化之后,我们想要刷新JEditorPane的显示,因此我尝试使用了以下的方式: jEditorPane.setPage("index.html");//一开始显示的页面 //对index.html做出更改... jEditorPane.setPage("empty.html");//empty.html是本地的一个空白页面 jEditorPane.revalidate(); jEditorPane.s
2020-05-18 10:34:10
642
空空如也
Android Studio 同步Gradle时卡在Build Model这一步怎么办?
2020-03-01
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅