Skip to content

Commit dfb285e

Browse files
SrinivasanTargetsaikrishna321
authored andcommitted
Publish Java client through Jitpack (#1008)
* publish java client through jitpack * publish a snapshot * add documentation * Update readme
1 parent 97ce87f commit dfb285e

File tree

3 files changed

+53
-1
lines changed

3 files changed

+53
-1
lines changed

README.md

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,54 @@ This is the Java language binding for writing Appium Tests, conforms to [Mobile
1717

1818
[WIKI](https://github.com/appium/java-client/wiki)
1919

20+
## How to install latest java client Beta/Snapshots
21+
22+
Java client project is available to use even before it is officially published to maven central. Refer [jitpack.io](https://jitpack.io/#appium/java-client)
23+
24+
### Maven
25+
26+
- Add the following to pom.xml:
27+
28+
```
29+
<repositories>
30+
<repository>
31+
<id>jitpack.io</id>
32+
<url>https://jitpack.io</url>
33+
</repository>
34+
</repositories>
35+
```
36+
37+
- Add the dependency:
38+
39+
```
40+
<dependency>
41+
<groupId>com.github.appium</groupId>
42+
<artifactId>java-client</artifactId>
43+
<version>latest commit ID from master branch</version>
44+
</dependency>
45+
```
46+
47+
### Gradle
48+
49+
- Add the JitPack repository to your build file. Add it in your root build.gradle at the end of repositories:
50+
51+
```
52+
allprojects {
53+
repositories {
54+
...
55+
maven { url 'https://jitpack.io' }
56+
}
57+
}
58+
```
59+
60+
- Add the dependency:
61+
62+
```
63+
dependencies {
64+
implementation 'com.github.appium:java-client:latest commit id from master branch'
65+
}
66+
```
67+
2068
## Changelog
2169

2270
*7.0.0 (under construction yet)*

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ apply plugin: 'maven-publish'
1010
import org.apache.tools.ant.filters.*
1111

1212
group 'io.appium'
13-
version '6.1.0'
13+
version '6.1.1-SNAPSHOT'
1414

1515
repositories {
1616
jcenter()

jitpack.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
jdk:
2+
- openjdk8
3+
install:
4+
- ./gradlew clean install -x test -x signArchives

0 commit comments

Comments
 (0)