Giter Club home page Giter Club logo

Comments (9)

sanri avatar sanri commented on August 12, 2024 1

It should be a version issue.
Do not use Gradle 7.0.

https://stackoverflow.com/questions/23796404/could-not-find-method-compile-for-arguments-gradle

from fast-dds-gen.

fulup-bzh avatar fulup-bzh commented on August 12, 2024 1

I understand and I'm happy that Fast-DDS get a higher priority than Gradle. This is the reason why I love old tools like CMAKE, unlike most of the web oriented tools they are stable since years and do not break API everything 6 months.

from fast-dds-gen.

adk4davsys avatar adk4davsys commented on August 12, 2024

Hello,

I was getting the same error and I resolved mine with using the latest release of Fast-DDS-Gen (v2.0.1 at the time of this reply).

Hope this helps.

from fast-dds-gen.

sanri avatar sanri commented on August 12, 2024

Hello,
I was getting the same error, but using the latest version also has this error (Fast-DDS-Gen v2.0.1, macos) .

from fast-dds-gen.

MiguelCompany avatar MiguelCompany commented on August 12, 2024

As stated on the docs, Fast-DDS-Gen comes with a gradle wrapper that uses the gradle version the scripts are prepared for.

from fast-dds-gen.

fulup-bzh avatar fulup-bzh commented on August 12, 2024

Does not work either with Gradle-7.1.1 as shipped with Fedora-34.

Hack to force the old version 6.x works. Nevertheless this prevent from installing within a CI/CD environment where dynamic downloads are prohibited at build time.

from fast-dds-gen.

EduPonz avatar EduPonz commented on August 12, 2024

Hi everyone,

Unfortunately, we currently don't have time at the moment to support building with newer versions of Gradle, as we are very much invested into improving Fast DDS itself. However, contributions in this regard are very much welcome and we'd be happy to allocate some time to review them.

Nevertheless this prevent from installing within a CI/CD environment where dynamic downloads are prohibited at build time.

Once way around this that comes to mind is to install Gradle 6.x as part of setting up the you CI/CD environment.

I'm going to leave the ticket open as "feature-request". Sorry for the inconvenience.

from fast-dds-gen.

11111145 avatar 11111145 commented on August 12, 2024

Hi, everyone, There was an error in compiling fast-DD- Gen using gradle assembl. Please help me. I have just touched DDS, but I am not very good. Thank you。
(gradle version:6.9.2,reason:version7.x is not right
fast-dds-gen version:2.1.3)

D:\Fast-DDS-Gen>gradle assemble

Task :buildIDLParser FAILED

FAILURE: Build failed with an exception.

  • Where:
    Build file 'D:\Fast-DDS-Gen\thirdparty\idl-parser\idl.gradle' line: 18

  • What went wrong:
    Plugin [id: 'me.champeau.gradle.antlr4', version: '0.1'] was not found in any of the following sources:

  • Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
  • Plugin Repositories (could not resolve plugin artifact 'me.champeau.gradle.antlr4:me.champeau.gradle.antlr4.gradle.plugin:0.1')
    Searched in the following repositories:
    Gradle Central Plugin Repository
  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9.2/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 13s
4 actionable tasks: 4 executed

note:
15 // In this section you declare the used plugins
16 // community plugins
17 plugins {
18 id "me.champeau.gradle.antlr4" version "0.1" // antlr4 community plugin.
19 }

from fast-dds-gen.

MiguelCompany avatar MiguelCompany commented on August 12, 2024

This should be fixed by #129

from fast-dds-gen.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.