|
|
@ -468,7 +468,7 @@ public final class DatabasePlugin extends JavaPlugin {
|
|
|
|
```xml
|
|
|
|
```xml
|
|
|
|
<repository>
|
|
|
|
<repository>
|
|
|
|
<id>de.exlll</id>
|
|
|
|
<id>de.exlll</id>
|
|
|
|
<url>http://exlll.de:8081/artifactory/releases/</url>
|
|
|
|
<url>https://maven.pkg.github.com/Exlll/ConfigLib</url>
|
|
|
|
</repository>
|
|
|
|
</repository>
|
|
|
|
|
|
|
|
|
|
|
|
<!-- for Bukkit plugins -->
|
|
|
|
<!-- for Bukkit plugins -->
|
|
|
@ -487,16 +487,23 @@ public final class DatabasePlugin extends JavaPlugin {
|
|
|
|
```
|
|
|
|
```
|
|
|
|
#### Gradle
|
|
|
|
#### Gradle
|
|
|
|
```groovy
|
|
|
|
```groovy
|
|
|
|
repositories {
|
|
|
|
repositories { maven { url 'https://maven.pkg.github.com/Exlll/ConfigLib' } }
|
|
|
|
maven {
|
|
|
|
|
|
|
|
url 'http://exlll.de:8081/artifactory/releases/'
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
dependencies {
|
|
|
|
// for Bukkit plugins
|
|
|
|
// 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
|
|
|
|
// for Bungee plugins
|
|
|
|
compile group: 'de.exlll', name: 'configlib-bungee', version: '2.2.0'
|
|
|
|
implementation("de.exlll:configlib-bungee:2.2.0")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
```
|
|
|
|
```
|