mirror of
https://github.com/revanced/jadb.git
synced 2024-11-19 02:29:24 +01:00
vidstige/jadb#11 some more improvements
This commit is contained in:
parent
7945c54b95
commit
9e52e80eaa
16
.gitignore
vendored
16
.gitignore
vendored
@ -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/
|
||||
|
27
README.md
27
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
|
||||
|
||||
```
|
||||
<repositories>
|
||||
<repository>
|
||||
<id>jitpack.io</id>
|
||||
<url>https://jitpack.io</url>
|
||||
</repository>
|
||||
</repositories>
|
||||
```
|
||||
|
||||
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:
|
||||
|
||||
```
|
||||
<dependency>
|
||||
<groupId>com.github.vidstige</groupId>
|
||||
<artifactId>jadb</artifactId>
|
||||
<version>v1.1</version>
|
||||
</dependency>
|
||||
```
|
||||
|
||||
## Author ##
|
||||
Samuel Carlsson <samuel.carlsson@gmai.com>
|
34
pom.xml
34
pom.xml
@ -7,8 +7,7 @@
|
||||
<groupId>se.vidstige</groupId>
|
||||
<artifactId>jadb</artifactId>
|
||||
<version>1.0.0-SNAPSHOT</version>
|
||||
|
||||
<url>https://github.com/adelolmo/jadb</url>
|
||||
<url>https://github.com/vidstige/jadb</url>
|
||||
|
||||
<licenses>
|
||||
<license>
|
||||
@ -75,6 +74,20 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.5</version>
|
||||
<configuration>
|
||||
<includes>
|
||||
<include>**/*.java</include>
|
||||
</includes>
|
||||
<excludes>
|
||||
<exclude>**/data/*</exclude>
|
||||
<exclude>**/fakes/*</exclude>
|
||||
</excludes>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
@ -96,8 +109,9 @@
|
||||
</executions>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-javadoc-plugin</artifactId>
|
||||
<version>2.9.1</version>
|
||||
<version>2.10.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>attach-javadocs</id>
|
||||
@ -113,18 +127,10 @@
|
||||
</profiles>
|
||||
|
||||
<scm>
|
||||
<url>scm:git:git@github.com:adelolmo/jadb.git</url>
|
||||
<connection>scm:git:git@github.com:adelolmo/jadb.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:adelolmo/jadb.git</developerConnection>
|
||||
<url>scm:git:git@github.com:vidstige/jadb.git</url>
|
||||
<connection>scm:git:git@github.com:vidstige/jadb.git</connection>
|
||||
<developerConnection>scm:git:git@github.com:vidstige/jadb.git</developerConnection>
|
||||
<tag>HEAD</tag>
|
||||
</scm>
|
||||
|
||||
<distributionManagement>
|
||||
<repository>
|
||||
<id>bintray-andonidelolmo-main</id>
|
||||
<name>andonidelolmo-main</name>
|
||||
<url>https://api.bintray.com/maven/andonidelolmo/main/jadb/;publish=1</url>
|
||||
</repository>
|
||||
</distributionManagement>
|
||||
|
||||
</project>
|
Loading…
Reference in New Issue
Block a user