aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlavo <zjx001202@126.com>2018-04-11 14:43:04 +0800
committerGlavo <zjx001202@126.com>2018-04-11 14:43:04 +0800
commit51c74cc8b5e2f5b5cb64b9cfa83d9d149f9032b6 (patch)
treefbe925c7b2930393d521a854dd5e45e143c62890
parent5873deb7af12aa2b84221e9e12e0dc7ca5807f0a (diff)
downloadgjavah-51c74cc8b5e2f5b5cb64b9cfa83d9d149f9032b6.zip
gjavah-51c74cc8b5e2f5b5cb64b9cfa83d9d149f9032b6.tar.gz
gjavah-51c74cc8b5e2f5b5cb64b9cfa83d9d149f9032b6.tar.bz2
update README
-rw-r--r--README.md23
1 files changed, 22 insertions, 1 deletions
diff --git a/README.md b/README.md
index 54ea893..a233145 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,23 @@
-# gjavah
+# gjavah [![](https://jitpack.io/v/org.glavo.glavo/gjavah.svg)](https://jitpack.io/#org.glavo.glavo/gjavah)
+Gradle :
+```
+repositories {
+ maven { url 'https://jitpack.io' }
+}
+
+dependencies {
+ compile 'org.glavo.glavo:gjavah:0.1.0'
+}
+```
+
+## Usage
+
+```java
+import org.glavo.javah.*;
+
+var writer = new PrintWriter(System.out);
+HeaderGenerator.generateHeader("java.lang.Object", writer);
+writer.flush();
+
+``` \ No newline at end of file