java - Gradle:在 gradle 版本 > 7.0 中相当于 complieOnly
问题描述
对于大于 7.0 的版本,在 gradle 依赖方法中是否有任何等效于 compileOnly 的方法?
解决方案
根据文档,它仍然是compileOnly
:https ://docs.gradle.org/current/userguide/java_plugin.html#tab:configurations
推荐阅读
- php - 将 wp-login 重定向到自定义登录并记住引用页面
- flutter - 我怎么知道我的 QuerySnapshot 是否有一些寄存器?扑
- java - 如何自动装配从另一个 jar 导入的服务?
- amazon-web-services - AWS Lambda 和参考数据的加载
- c - CodeChef 运行时错误“NZEC”问题“疫苗生产”(C 语言)
- c# - 基于组合框选定项的特定 xml 子项
- java - 保持计时器始终在没有服务的情况下运行
- struct - 使用附加参数实现 convert From 特征
- ios - 即使屏幕上有足够的空间,UICollectionView 也会重用单元格
- google-calendar-api - Google G Suite (Workspace) 如何在设备上禁用密码