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.dragon66:icafe:icafe4j-v0.2'
}
dependencies {
implementation("com.github.dragon66:icafe:icafe4j-v0.2")
}
<dependency>
<groupId>com.github.dragon66</groupId>
<artifactId>icafe</artifactId>
<version>icafe4j-v0.2</version>
</dependency>
libraryDependencies += "com.github.dragon66" % "icafe" % "icafe4j-v0.2"
:dependencies [[com.github.dragon66/icafe "icafe4j-v0.2"]]
What is ICAFE? ICAFE is a pure Java library for:
NOTE: The metadata related part of icafe has become another repository "pixymeta" which has no dependency on reading and writing function of "icafe". There is also an Android version called "pixymeta-android".
I know a lot of you are using this library even for commercial purpose. That's totally fine to me as that is my intention from day one of this library. Let me know if you want your name or company to be added here to show your appreciation.
There is currently no stable release of ICAFE. However you can pull the latest SNAPSHOT from Sonatype SNAPSHOT repository by adding the snapshot repository to your pom.xml:
<repository>
<id>oss.sonatype.org</id>
<name>Sonatype Snapshot Repository</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
Then you can use the SNAPSHOT version of ICAFE in your pom.xml:
<dependency>
<groupId>com.github.dragon66</groupId>
<artifactId>icafe</artifactId>
<version>1.1-SNAPSHOT</version>
</dependency>
Suggestions? custom requirements? Open an issue or send email to me directly: yuwen_66@yahoo.com
Go to the wiki page to see this library in action or grab the "icafe.jar" from the lib folder and try it yourself!
Just in case you want to show your support and appreciation, here is a Paypal link: https://www.paypal.com/donate/?hosted_button_id=S8JZDYYMQQWCC