From 312c0e3c733c0f7e1e33a97ee16f02eca62be6ac Mon Sep 17 00:00:00 2001 From: Andrea Cavalli Date: Thu, 21 Jan 2021 11:39:41 +0100 Subject: [PATCH] Change usage in readme --- README.md | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index 09050d4..396de01 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,4 @@ # webp-imageio-core -forked from qwong/j-webp Java Image I/O reader and writer for the Google WebP image format without system lib file. In source program, coders need to put native lib files like .so/.dll/.dylib into the folder of `java.library.path`. @@ -19,27 +18,18 @@ Update 20191029: ## Usage -Because it is not in maven repo, so you have to put the jar file `webp-imageio-core-{version}.jar` into libs folder of your project manually. - -[Download jar](https://github.com/nintha/webp-imageio-core/releases) - -if you use gradle, you can put it into `src/main/resource/libs`, and edit config file`build.gradle` to add local dependencies - -```groovy -dependencies { - compile fileTree(dir:'src/main/resources/libs',include:['*.jar']) -} -``` - -if you use maven, you can put it `${project.basedir}/libs`, and edit config file `pom.xml` to add local dependencies - ```xml + + + mchv-release + MCHV Release Apache Maven Packages + https://mvn.mchv.eu/repository/mchv + + com.github.nintha webp-imageio-core {version} - system - ${project.basedir}/libs/webp-imageio-core-{version}.jar ```