diff --git a/.github/workflows/publish-on-master-push.yml b/.github/workflows/publish-on-master-push.yml index c9754cd..db63416 100644 --- a/.github/workflows/publish-on-master-push.yml +++ b/.github/workflows/publish-on-master-push.yml @@ -2,7 +2,7 @@ name: publish-on-master-push on: push: - branches: [ dev ] # TODO: change to master + branches: [ master ] paths-ignore: - '**/README.md' diff --git a/.github/workflows/test-on-pr-or-dev-push.yml b/.github/workflows/test-on-pr-or-dev-push.yml index fd675c4..8c0cd2c 100644 --- a/.github/workflows/test-on-pr-or-dev-push.yml +++ b/.github/workflows/test-on-pr-or-dev-push.yml @@ -9,7 +9,7 @@ on: paths-ignore: - '**/README.md' jobs: - check: + test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -18,7 +18,7 @@ jobs: with: distribution: 'adopt' java-version: '16' - - name: Check with Gradle + - name: Test with Gradle run: ./gradlew test - name: Archive test reports if: ${{ failure() }} diff --git a/README.md b/README.md index a8e7a7b..46aa0d5 100644 --- a/README.md +++ b/README.md @@ -468,7 +468,7 @@ public final class DatabasePlugin extends JavaPlugin { ```xml de.exlll - http://exlll.de:8081/artifactory/releases/ + https://maven.pkg.github.com/Exlll/ConfigLib @@ -487,16 +487,23 @@ public final class DatabasePlugin extends JavaPlugin { ``` #### Gradle ```groovy -repositories { - maven { - url 'http://exlll.de:8081/artifactory/releases/' - } -} +repositories { maven { url 'https://maven.pkg.github.com/Exlll/ConfigLib' } } + dependencies { // for Bukkit plugins - compile group: 'de.exlll', name: 'configlib-bukkit', version: '2.2.0' + implementation group: 'de.exlll', name: 'configlib-bukkit', version: '2.2.0' + // for Bungee plugins + implementation group: 'de.exlll', name: 'configlib-bungee', version: '2.2.0' +} +``` + +```kotlin +repositories { maven { url = uri("https://maven.pkg.github.com/Exlll/ConfigLib") } } +dependencies { + // for Bukkit plugins + implementation("de.exlll:configlib-bukkit:2.2.0") // for Bungee plugins - compile group: 'de.exlll', name: 'configlib-bungee', version: '2.2.0' + implementation("de.exlll:configlib-bungee:2.2.0") } ``` \ No newline at end of file