Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
运行良好的 GRADLE 构建,我看不到 gradle 配置的任何更改,最近开始出现错误
无法为 org.gradle.api.tasks.bundling.Zip 类型的任务“:archiveProduct”设置未知属性“archiveBaseName”。
解决方案是什么?使用 Gretty,如果有用的话。
问题是 gretty 3.0.2 更新。请不要使用 gretty 3.0.2,只使用 gretty 3.0.1 及以下版本。
如果你有 maven 导入classpath 'org.gretty:gretty:+',你需要在那里硬编码 3.0.2
classpath 'org.gretty:gretty:+'