diff --git a/.github/workflows/maven-publish.yml b/.github/workflows/maven-publish.yml index 41f60e4..8e42402 100644 --- a/.github/workflows/maven-publish.yml +++ b/.github/workflows/maven-publish.yml @@ -17,10 +17,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 16 + - name: Set up JDK 1.8 uses: actions/setup-java@v2 with: - java-version: '16' + java-version: '8' distribution: 'adopt' server-id: github # Value of the distributionManagement/repository/id field of the pom.xml settings-path: ${{ github.workspace }} # location for the settings.xml file diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 9bf37e1..bf280d7 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -16,10 +16,10 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Set up JDK 16 + - name: Set up JDK 1.8 uses: actions/setup-java@v2 with: - java-version: '16' + java-version: '8' distribution: 'adopt' cache: maven - name: Build with Maven diff --git a/README.md b/README.md index dfdde5c..00f05b3 100644 --- a/README.md +++ b/README.md @@ -26,11 +26,42 @@ After then returns boolean about license status. } ``` +## API +[![](https://jitpack.io/v/poyrazinan/JavaLicense.svg)](https://jitpack.io/#poyrazinan/JavaLicense) +[![Java CI with Maven](https://github.com/poyrazinan/JavaLicense/actions/workflows/maven.yml/badge.svg)](https://github.com/poyrazinan/JavaLicense/actions/workflows/maven.yml) +### Maven: +```xml + + + jitpack.io + https://jitpack.io + + + + + + com.github.poyrazinan + JavaLicense + 1.0.0 + compile + + +``` +### Gradle: +``` +repositories { + maven { url 'https://jitpack.io' } +} + +dependencies { + implementation 'com.github.poyrazinan:JavaLicense:1.0.0' +} +``` + ## Requirements: * Web API for storing licenses and check. * User must have CURL for license check. -* Developed on Java 16 (Can be usable lower versions probably.) ## Dependencies