Skip to content

Commit 6d61d81

Browse files
committed
Minor fixes
1 parent 476538b commit 6d61d81

File tree

4 files changed

+41
-16
lines changed

4 files changed

+41
-16
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
.gradle/*
33
gradlew*
44
**/build/
5-
!gradle-wrapper.jar
65
**/*.jar
6+
!gradle/wrapper/gradle-wrapper.jar

README.md

Lines changed: 34 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,40 @@ The java library for the [Whois XML API service](https://whois.whoisxmlapi.com/)
66
* WhoisXMLAPI account and the API key. The API key could be obtained [here](https://user.whoisxmlapi.com/products).
77

88
## Installation
9-
Jar files are available in the latest release.
9+
10+
### Gradle
11+
```groovy
12+
repositories {
13+
...
14+
maven { url 'https://jitpack.io' }
15+
}
16+
```
17+
```groovy
18+
dependencies {
19+
implementation 'com.whoisxmlapi:whois-api-java:v1.0.4'
20+
}
21+
```
22+
23+
### Maven
24+
25+
```xml
26+
<repositories>
27+
<repository>
28+
<id>jitpack.io</id>
29+
<url>https://jitpack.io</url>
30+
</repository>
31+
</repositories>
32+
```
33+
```xml
34+
<dependency>
35+
<groupId>com.whoisxmlapi</groupId>
36+
<artifactId>whois-api-java</artifactId>
37+
<version>v1.0.4</version>
38+
</dependency>
39+
```
40+
### Jar files
41+
Jar files are available on the release page.
42+
1043

1144
## Usage
1245
API documentation available [here](https://whois.whoisxmlapi.com/documentation/making-requests).

build.gradle

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ plugins {
66
sourceCompatibility = 1.8
77
targetCompatibility = 1.8
88

9-
group 'com.whoisxmlapi.whoisapi'
10-
version '1.0.3'
9+
group 'com.whoisxmlapi'
10+
version '1.0.4'
1111

1212
repositories {
1313
mavenCentral()
@@ -28,26 +28,18 @@ test {
2828
}
2929

3030
task heavyJar(type: Jar) {
31-
archiveClassifier = 'all'
31+
classifier = 'all'
3232
from {configurations.runtimeClasspath.collect {it.isDirectory() ? it : zipTree(it)} }
3333
with jar
3434
}
3535

3636
publishing {
3737
publications {
3838
mavenJava(MavenPublication) {
39-
artifactId = 'api-client'
40-
groupId = 'com.whoisxmlapi.whoisapi'
41-
version = '1.0.3'
39+
artifactId = 'whois-api-client'
40+
groupId = 'com.whoisxmlapi'
41+
version = '1.0.4'
4242
from components.java
43-
versionMapping {
44-
usage('java-api') {
45-
fromResolutionOf('runtimeClasspath')
46-
}
47-
usage('java-runtime') {
48-
fromResolutionResult()
49-
}
50-
}
5143
pom {
5244
name = 'WhoisXML API client'
5345
description = 'API client for WhoisXML API service'

gradle/wrapper/gradle-wrapper.jar

53.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)