fast dds gen编译问题build.gradle line: 94

使用版本java 17, gradle 7

需要使用gradle 6使用, 记得使用java -version, 以确定版本是否更改成功

报错:

Build file /home/administrator/work/git/Fast-DDS-Gen/build.gradle line: 94

* What went wrong:
A problem occurred evaluating root project 'Fast-DDS-Gen'.
Could not find method compile() for arguments [file collection] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.

你可能感兴趣的:(ros2/dds,gradle,中间件)