File tree Expand file tree Collapse file tree 4 files changed +41
-16
lines changed
Expand file tree Collapse file tree 4 files changed +41
-16
lines changed Original file line number Diff line number Diff line change 22.gradle /*
33gradlew *
44** /build /
5- ! gradle-wrapper.jar
65** /* .jar
6+ ! gradle /wrapper /gradle-wrapper.jar
Original file line number Diff line number Diff 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
1245API documentation available [ here] ( https://whois.whoisxmlapi.com/documentation/making-requests ) .
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ plugins {
66sourceCompatibility = 1.8
77targetCompatibility = 1.8
88
9- group ' com.whoisxmlapi.whoisapi '
10- version ' 1.0.3 '
9+ group ' com.whoisxmlapi'
10+ version ' 1.0.4 '
1111
1212repositories {
1313 mavenCentral()
@@ -28,26 +28,18 @@ test {
2828}
2929
3030task heavyJar (type : Jar ) {
31- archiveClassifier = ' all'
31+ classifier = ' all'
3232 from {configurations. runtimeClasspath. collect {it. isDirectory() ? it : zipTree(it)} }
3333 with jar
3434}
3535
3636publishing {
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'
You can’t perform that action at this time.
0 commit comments