Skip to content

Dependencies

Mike Angstadt edited this page Jul 19, 2018 · 13 revisions

biweekly requires Java 1.5 or above (with some exceptions, see below).

biweekly uses the following dependencies. Some can be excluded, depending on the kind of functionality your application requires.

vinnie required
Maven coordinates: com.github.mangstadt:vinnie:1.0.1
A lightweight library that reads and writes "vobject" data (vCard and iCalendar).

Jackson optional
Maven coordinates: com.fasterxml.jackson.core:jackson-core:2.6.1
JSON library used for parsing and writing jCals (JSON-encoded iCalendar files). Requires Java 1.6.

Apache Commons Codec embedded
Maven coordinates: commons-codec:commons-codec:1.6
Utility library providing common decoder/encoder algorithms (notably, base64 and quoted-printable). Selected portions of this library's source code have been inserted directly into the biweekly code base in order to resolve an Android compatibility issue (see this discussion).

google-rfc-2445 embedded
Maven coordinates: none
Used to process timezone definitions and also to iterate over the dates in any given RRULE. This library's source code has been inserted directly into the biweekly code base. Some slight modifications were made to the source code to fix some bugs.

tzurl.org
biweekly downloads VTIMEZONE component definitions from this website.

Maven-enabled projects can exclude dependencies like so:

<dependency>
  <groupId>net.sf.biweekly</groupId>
  <artifactId>biweekly</artifactId>
  <version>...</version>
  <exclusions>

    <!-- JSON functionality not needed -->
    <exclusion>
      <groupId>com.fasterxml.jackson.core</groupId>
      <artifactId>jackson-core</artifactId>
    </exclusion>

  </exclusions>
</dependency>
Clone this wiki locally