Comments (4)
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.
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.
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.
Thank you. this was very useful and appreciated.
from ical4j.
Related Issues (20)
- Time of Event not correct with Events from Wordpress Events Manager HOT 5
- Wrong operator precedence in TemporalAmountAdapter.java v3.2.13
- nebula plugins should probably be removed - latest versions are no-op HOT 1
- calculateRecurrenceSet produces invalid data after DST shift HOT 7
- Unexpected Timezone offset with ical4j 4.0.0-rc1 HOT 2
- TZID prefix added to UTC datetimes HOT 2
- Update android minify receipe in https://www.ical4j.org/android/ for R8-Minify HOT 1
- Outlook ics "nested too deep" HOT 3
- Times of events are off by one hour HOT 1
- Validation does not spot quite simple contraints
- Cannot parse EMAIL="mailto:[email protected]" HOT 2
- Exchange is unable to actively parse ICS file, but Outlook 365 can parse it normally.
- extractor.ICalendarExtractor: Unable to parse icalendar with slashed
- Errors need to be flagged as such in log HOT 1
- TZ aliases not working HOT 2
- `DateListPropertyRule` not fixing time zone name HOT 1
- `calculateRecurrenceSet` return value is not accurate
- ClassCastException: VAlarm cannot be cast to Observance when VTIMEZONE contains a VALARM
- UTC vs Etc/UTC - CalendarBuilder Exception (java.time.DateTimeException: Unknown timezone identifier [UTC]) HOT 4
- Summer-wintertime-change is not regarded in Component.calculateRecurrenceSet
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ical4j.