GithubHelp home page GithubHelp logo

Groovy dependency about ical4j HOT 4 CLOSED

husayt avatar husayt commented on May 25, 2024
Groovy dependency

from ical4j.

Comments (4)

benfortuna avatar benfortuna commented on May 25, 2024

Hi,

No, you don't need Groovy to use the standard calendar parsing/generation
features. The Groovy dependency should only be required for extra
Groovy-specific features such as builder support (and running unit tests).

I'll try to make that clearer for future releases.

Regards,
Ben
On 28 Jul 2015 9:14 am, "husayt" [email protected] wrote:

I was surprised to find out that ical4j library depends on groovy-all.jar,
which makes it very expensive to add. We only use ical4j for simple ical
generation, do we still need to ship groovy-all.jar?

I will appreciate for some clarification for when this library needed and
when can be safely omitted.


Reply to this email directly or view it on GitHub
#38.

from ical4j.

husayt avatar husayt commented on May 25, 2024

Thanks for reply.
I'm using Ical4j from maven (see below) and that pulls groovy-all library
which is 7Mb. Is there any way to exclude it ?

<dependency>
    <groupId>org.mnode.ical4j</groupId>
    <artifactId>ical4j</artifactId>
    <version>${ical4j.version}</version>
</dependency>

Thanks

Best regards,
Huseyn Guliyev


On 28 July 2015 at 00:18, Ben Fortuna [email protected] wrote:

Hi,

No, you don't need Groovy to use the standard calendar parsing/generation
features. The Groovy dependency should only be required for extra
Groovy-specific features such as builder support (and running unit tests).

I'll try to make that clearer for future releases.

Regards,
Ben
On 28 Jul 2015 9:14 am, "husayt" [email protected] wrote:

I was surprised to find out that ical4j library depends on
groovy-all.jar,
which makes it very expensive to add. We only use ical4j for simple ical
generation, do we still need to ship groovy-all.jar?

I will appreciate for some clarification for when this library needed and
when can be safely omitted.


Reply to this email directly or view it on GitHub
#38.


Reply to this email directly or view it on GitHub
#38 (comment).

from ical4j.

benfortuna avatar benfortuna commented on May 25, 2024

Yes you should be able to use a dependency exclusion:

https://maven.apache.org/guides/introduction/introduction-to-optional-and-excludes-dependencies.html

e.g:

<dependency>
 <groupId>org.mnode.ical4j</groupId>
 <artifactId>ical4j</artifactId>
 <version>${ical4j.version}</version>
      <exclusions>
        <exclusion>
          <groupId>org.codehaus.groovy</groupId>
          <artifactId>groovy-all</artifactId>
        </exclusion>
      </exclusions>
 </dependency>

from ical4j.

husayt avatar husayt commented on May 25, 2024

Thank you. this was very useful and appreciated.

from ical4j.

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.