Publish on master push, update "Import" README section

dev
Exlll 3 years ago
parent 84f38cdc71
commit 65555f7dd6

@ -2,7 +2,7 @@ name: publish-on-master-push
on:
push:
branches: [ dev ] # TODO: change to master
branches: [ master ]
paths-ignore:
- '**/README.md'

@ -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() }}

@ -468,7 +468,7 @@ public final class DatabasePlugin extends JavaPlugin {
```xml
<repository>
<id>de.exlll</id>
<url>http://exlll.de:8081/artifactory/releases/</url>
<url>https://maven.pkg.github.com/Exlll/ConfigLib</url>
</repository>
<!-- for Bukkit plugins -->
@ -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")
}
```
Loading…
Cancel
Save