diff --git a/README.md b/README.md index 4a4ae3b..8bf2600 100644 --- a/README.md +++ b/README.md @@ -7,8 +7,6 @@ A Java library to query (a Danish VAT API service). [![Build Status](https://drone.data.coop/api/badges/nellemann/libcvrapi/status.svg)](https://drone.data.coop/nellemann/libcvrapi) ## Usage -Include the [libcvrapi dependency](https://git.data.coop/nellemann/-/packages/maven/biz.nellemann.libs-libcvrapi/) into your Java project. - Lookup company by CVR number: ```java @@ -19,6 +17,18 @@ System.out.println(company.life.name); The *Company* represents most of the same properties as seen in the example JSON in the [api documentation](http://docs.rest.cvrapi.dk/). + +### Gradle + + repositories { + maven { url 'https://git.data.coop/api/packages/nellemann/maven' } + } + + dependencies { + compile 'biz.nellemann.libs:libcvrapi:1.+' + } + + ## Development To build and test the code: diff --git a/build.gradle b/build.gradle index 0d11724..c32318d 100644 --- a/build.gradle +++ b/build.gradle @@ -14,7 +14,7 @@ dependencies { implementation("com.squareup.okhttp3:okhttp:4.10.0") testImplementation("org.slf4j:slf4j-simple:${slf4jVersion}") - testImplementation("com.squareup.okhttp3:mockwebserver:4.9.3") + testImplementation("com.squareup.okhttp3:mockwebserver:4.10.0") testImplementation("org.codehaus.groovy:groovy-all:${groovyVersion}") testImplementation("org.spockframework:spock-core:${spockVersion}") { exclude group: "org.codehaus.groovy" diff --git a/gradle.properties b/gradle.properties index 3b8baa6..0832ddf 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,8 +1,8 @@ id = libcvrapi group = biz.nellemann.libs -version = 1.0.11 +version = 1.0.12 licenses = ['APACHE-2.0'] // or something else -groovyVersion = 3.0.13 +groovyVersion = 3.0.14 slf4jVersion = 2.0.6 spockVersion = 2.3-groovy-3.0 siteUrl = https://bitbucket.org/mnellemann/libcvrapi