更新时间:2023-11-16 19:20:52
在我看来,这就是我要做的不应该是远远不寻常的,但作为一个解决办法,我可以有 DIST
目录的src /距离/ lib中/ conf目录
允许 CONF
目录放置在 LIB
目录以及产生的gradle为SH /批处理文件是正确的类路径。
It seems to me that what I'm trying to do shouldn't be that far out of the ordinary, but as a workaround I can have the dist
directory be src/dist/lib/conf
which allows the conf
directory to be placed in the lib
directory and the classpath that gradle generates for the sh/bat files to be correct.
我会接受另外一个答案,如果有人有一个更好的。
I'll accept another answer if someone has a better one.