gradle
# gradle
Mr.Java.
格物致知,宁静致远.
言忠信,行笃敬。
展开
-
idea Gradle7.0+ :Could not find method compile()
compile,runtime,testCompile, andtestRuntime等在Gradle 7.0以后移除了,我们需要用implementation,runtimeOnly,testImplementation, andtestRuntimeOnly 替代翻译 2022-07-09 11:00:38 · 1202 阅读 · 0 评论 -
gradle 打包排除指定的目录或文件
gradle 打包排除指定的目录或文件原创 2022-03-22 10:34:19 · 5569 阅读 · 4 评论 -
idea gradle 加载本地依赖(windows+mac)
假设我们想要的本地jar包在这个路径:mac系统-写法:dependencies { compile fileTree(dir:'src/main/resources/libs',includes:['*.jar'])}windows系统-写法:dependencies { compile fileTree(dir:'/src/main/resources/libs',includes:['*.jar'])}...原创 2022-02-16 16:37:23 · 2063 阅读 · 0 评论 -
Timeout waiting to lock file hash cache.It is currently in use by another Gradle instance.
Timeout waiting to lock file hash cache. It is currently in use by another Gradle instance.原创 2021-11-19 16:10:20 · 1076 阅读 · 0 评论 -
Mac用homebrew brew来安装gradle,gradle路径在哪里? 如何配置idea gradle?
安装路径:/usr/local/opt/gradlemac@adsl-99-11-45-112 gradle % cd /usr/local/opt/gradlemac@adsl-99-11-45-112 gradle % mac@adsl-99-11-45-112 gradle % lsINSTALL_RECEIPT.json NOTICE libexecLICENSE binmac@adsl-99-11-45-112 gradle % 依赖包存放路径:/Users/mac/.原创 2020-07-07 09:32:52 · 4260 阅读 · 0 评论