From 9e52e80eaa88066f45a1e711d5a86490d4ff99f7 Mon Sep 17 00:00:00 2001 From: Arthur Date: Mon, 23 May 2016 17:09:01 +0300 Subject: [PATCH] vidstige/jadb#11 some more improvements --- .gitignore | 16 +++++++++++++--- README.md | 27 +++++++++++++++++++++++++++ pom.xml | 34 ++++++++++++++++++++-------------- 3 files changed, 60 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 0955094..3c42d9a 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,7 @@ screenshot.png ################# *.pydevproject -#.project +.project .metadata bin/ tmp/ @@ -17,7 +17,7 @@ tmp/ *.swp *~.nib local.properties -#.classpath +.classpath .settings/ .loadpath @@ -219,6 +219,16 @@ pip-log.txt #Mr Developer .mr.developer.cfg -# IntelliJ + +############# +# Maven # +############# .idea/workspace.xml +.idea/libraries out/ + + +############# +# Maven # +############# +target/ diff --git a/README.md b/README.md index 11dd7fc..23cbc62 100644 --- a/README.md +++ b/README.md @@ -35,5 +35,32 @@ A list of the available commands that a ADB Server may accept can be found here: [Services](https://github.com/cgjones/android-system-core/blob/master/adb/SERVICES.TXT) +## Using JADB in your application ## + +Since version v1.1 Jadb support [maven]() as a build system. Although this project is not presented in official apache maven +repositories this library can be used as dependencies in your maven/gradle project with the help of [jitpack](https://jitpack.io). +[Оitpack](https://jitpack.io) is a system which parse github public repositories and make artifacts from them. +You will just only need to add [jitpack](https://jitpack.io) as a repository to let maven/gradle to search for artifacts in it + +``` + + + jitpack.io + https://jitpack.io + + +``` + +After that you will need to add actual dependency. [Jitpack](https://jitpack.io) takes groupId, artifactId and version id from repository name, +project name and **tag** ignoring actual values from pom.xml. So you need to write: + +``` + + com.github.vidstige + jadb + v1.1 + +``` + ## Author ## Samuel Carlsson \ No newline at end of file diff --git a/pom.xml b/pom.xml index 07d32f0..e666eb8 100644 --- a/pom.xml +++ b/pom.xml @@ -7,8 +7,7 @@ se.vidstige jadb 1.0.0-SNAPSHOT - - https://github.com/adelolmo/jadb + https://github.com/vidstige/jadb @@ -75,6 +74,20 @@ + + org.apache.maven.plugins + maven-surefire-plugin + 2.5 + + + **/*.java + + + **/data/* + **/fakes/* + + + @@ -96,8 +109,9 @@ + org.apache.maven.plugins maven-javadoc-plugin - 2.9.1 + 2.10.3 attach-javadocs @@ -113,18 +127,10 @@ - scm:git:git@github.com:adelolmo/jadb.git - scm:git:git@github.com:adelolmo/jadb.git - scm:git:git@github.com:adelolmo/jadb.git + scm:git:git@github.com:vidstige/jadb.git + scm:git:git@github.com:vidstige/jadb.git + scm:git:git@github.com:vidstige/jadb.git HEAD - - - bintray-andonidelolmo-main - andonidelolmo-main - https://api.bintray.com/maven/andonidelolmo/main/jadb/;publish=1 - - - \ No newline at end of file