mirror of
https://github.com/revanced/jadb.git
synced 2025-02-15 19:46:47 +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
|
*.pydevproject
|
||||||
#.project
|
.project
|
||||||
.metadata
|
.metadata
|
||||||
bin/
|
bin/
|
||||||
tmp/
|
tmp/
|
||||||
@ -17,7 +17,7 @@ tmp/
|
|||||||
*.swp
|
*.swp
|
||||||
*~.nib
|
*~.nib
|
||||||
local.properties
|
local.properties
|
||||||
#.classpath
|
.classpath
|
||||||
.settings/
|
.settings/
|
||||||
.loadpath
|
.loadpath
|
||||||
|
|
||||||
@ -219,6 +219,16 @@ pip-log.txt
|
|||||||
#Mr Developer
|
#Mr Developer
|
||||||
.mr.developer.cfg
|
.mr.developer.cfg
|
||||||
|
|
||||||
# IntelliJ
|
|
||||||
|
#############
|
||||||
|
# Maven #
|
||||||
|
#############
|
||||||
.idea/workspace.xml
|
.idea/workspace.xml
|
||||||
|
.idea/libraries
|
||||||
out/
|
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)
|
[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 ##
|
## Author ##
|
||||||
Samuel Carlsson <samuel.carlsson@gmai.com>
|
Samuel Carlsson <samuel.carlsson@gmai.com>
|
34
pom.xml
34
pom.xml
@ -7,8 +7,7 @@
|
|||||||
<groupId>se.vidstige</groupId>
|
<groupId>se.vidstige</groupId>
|
||||||
<artifactId>jadb</artifactId>
|
<artifactId>jadb</artifactId>
|
||||||
<version>1.0.0-SNAPSHOT</version>
|
<version>1.0.0-SNAPSHOT</version>
|
||||||
|
<url>https://github.com/vidstige/jadb</url>
|
||||||
<url>https://github.com/adelolmo/jadb</url>
|
|
||||||
|
|
||||||
<licenses>
|
<licenses>
|
||||||
<license>
|
<license>
|
||||||
@ -75,6 +74,20 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
@ -96,8 +109,9 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<version>2.9.1</version>
|
<version>2.10.3</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>attach-javadocs</id>
|
<id>attach-javadocs</id>
|
||||||
@ -113,18 +127,10 @@
|
|||||||
</profiles>
|
</profiles>
|
||||||
|
|
||||||
<scm>
|
<scm>
|
||||||
<url>scm:git:git@github.com:adelolmo/jadb.git</url>
|
<url>scm:git:git@github.com:vidstige/jadb.git</url>
|
||||||
<connection>scm:git:git@github.com:adelolmo/jadb.git</connection>
|
<connection>scm:git:git@github.com:vidstige/jadb.git</connection>
|
||||||
<developerConnection>scm:git:git@github.com:adelolmo/jadb.git</developerConnection>
|
<developerConnection>scm:git:git@github.com:vidstige/jadb.git</developerConnection>
|
||||||
<tag>HEAD</tag>
|
<tag>HEAD</tag>
|
||||||
</scm>
|
</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>
|
</project>
|
Loading…
x
Reference in New Issue
Block a user