Step 1. Add the JitPack repository to your build file
Add it in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Add it in your settings.gradle.kts at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
}
Add to pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
Add it in your build.sbt at the end of resolvers:
resolvers += "jitpack" at "https://jitpack.io"
Add it in your project.clj at the end of repositories:
:repositories [["jitpack" "https://jitpack.io"]]
Step 2. Add the dependency
dependencies {
implementation 'com.github.tizra:openpdf:1.0.5-tizra.1'
}
dependencies {
implementation("com.github.tizra:openpdf:1.0.5-tizra.1")
}
<dependency>
<groupId>com.github.tizra</groupId>
<artifactId>openpdf</artifactId>
<version>1.0.5-tizra.1</version>
</dependency>
libraryDependencies += "com.github.tizra" % "openpdf" % "1.0.5-tizra.1"
:dependencies [[com.github.tizra/openpdf "1.0.5-tizra.1"]]
OpenPDF is a Java library for creating and editing PDF files with a LGPL and MPL open source license. OpenPDF is the LGPL/MPL open source successor of iText, and is based on a fork, of a fork, of iText 4 svn tag. We welcome contributions from other developers. Please feel free to submit pull-requests and bugreports to this GitHub repository.
Get version 1.2.16 here - https://github.com/LibrePDF/OpenPDF/releases/tag/1.2.16
Add this to your pom.xml file to use the latest version of OpenPDF:
<dependency>
<groupId>com.github.librepdf</groupId>
<artifactId>openpdf</artifactId>
<version>1.2.16</version>
</dependency>
GNU General Lesser Public License (LGPL) version 3.0 - http://www.gnu.org/licenses/lgpl.html
Mozilla Public License Version 2.0 - http://www.mozilla.org/MPL/2.0/
We want OpenPDF to consist of source code which is consistently licensed with the LGPL and MPL licences only. This also means that any new contributions to the project must have a dual LGPL and MPL license only.
OpenPDF is open source software with a LGPL and MPL license. It is a fork of iText version 4, more specifically iText svn tag 4.2.0, which was hosted publicly on sourceforge with LGPL and MPL license headers in the source code, and lgpl and mpl license documents in the svn repository. Beginning with version 5.0 of iText, the developers have moved to the AGPL to improve their ability to sell commercial licenses.
Release the hounds! Please send all pull requests. Make sure that your contributions can be released with a dual LGPL and MPL license. In particular, pull requests to the OpenPDF project must only contain code that you have written yourself. GPL or AGPL licensed code will not be acceptable.
Significant Contributors to OpenPDF on GitHub:
@andreasrosdal - Andreas Røsdal
@daviddurand - David G. Durand
@tlxtellef
@asturio
@ymasory
@albfernandez - Alberto Fernández
@noavarice
@bengolder - Benjamin Golder
@glarfs
@Kindrat
@syakovyn
@ubermichael
@weiyeh
@SuperPat45
@lapo-luchini
@MartinKocour
@jokimaki
@sullis
@lapo-luchini
Also, a very special thanks to the iText developers ;)