gpt4 book ai didi

dependencies - 指定构建顺序依赖项

转载 作者:行者123 更新时间:2023-12-03 05:18:16 25 4
gpt4 key购买 nike

我有模块 AB . BA 的子项目.

在模块 A 的测试中我想使用 B 中的工件.

如何指定 A.tests应该在 B.build 之后执行没有指定任何编译依赖项?

最佳答案

您应该能够在 A 的 buildscript 中声明该依赖项:

tests.dependsOn(":B:build")

其中 tests 是 A 中的测试任务(你的意思是“测试”吗?)

干杯,
勒内

关于dependencies - 指定构建顺序依赖项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16173052/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com