mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2024-11-21 11:46:46 +01:00
Changed all plugin dependencies to another repository
This commit is contained in:
parent
5ae2876a61
commit
6e0d1fa310
@ -16,8 +16,8 @@ publishing {
|
|||||||
}
|
}
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
String mavenUsername = System.getenv('mavenUsername') == null ? project.mavenUsername : System.getenv('mavenUsername');
|
String mavenUsername = System.getenv('mavenUsername');
|
||||||
String mavenPassword = System.getenv('mavenPassword') == null ? project.mavenUsername : System.getenv('mavenPassword');
|
String mavenPassword = System.getenv('mavenPassword');
|
||||||
|
|
||||||
if (mavenUsername != null && mavenPassword != null) {
|
if (mavenUsername != null && mavenPassword != null) {
|
||||||
maven {
|
maven {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
group 'Hook_EpicSpawners6'
|
group 'Hook_EpicSpawners6'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly "com.songoda:EpicSpawners-6:latest"
|
compileOnly "com.songoda:EpicSpawners:6.0.6"
|
||||||
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
||||||
compileOnly project(":API")
|
compileOnly project(":API")
|
||||||
compileOnly parent
|
compileOnly parent
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
group 'Hook_EpicSpawners6'
|
group 'Hook_EpicSpawners6'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly "com.songoda:EpicSpawners-7:latest"
|
compileOnly "com.songoda:EpicSpawners:7.0.2"
|
||||||
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
||||||
compileOnly project(":API")
|
compileOnly project(":API")
|
||||||
compileOnly parent
|
compileOnly parent
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
group 'Hook_FactionsUUID'
|
group 'Hook_FactionsUUID'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly "com.drtshock:FactionsUUID:latest"
|
compileOnly "com.drtshock:Factions:1.6.9.5-U0.6.22-b309"
|
||||||
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
||||||
compileOnly project(":API")
|
compileOnly project(":API")
|
||||||
compileOnly parent
|
compileOnly parent
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
group 'Hook_FactionsX'
|
group 'Hook_FactionsX'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly "net.prosavage:FactionsX:latest"
|
compileOnly "net.prosavage:FactionsX:0.4.2"
|
||||||
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
||||||
compileOnly project(":API")
|
compileOnly project(":API")
|
||||||
compileOnly parent
|
compileOnly parent
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
group 'Hook_Lands'
|
group 'Hook_Lands'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly 'me.angeschossen:Lands:latest'
|
compileOnly 'me.angeschossen:Lands:4.5.2.7'
|
||||||
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
||||||
compileOnly project(":API")
|
compileOnly project(":API")
|
||||||
compileOnly parent
|
compileOnly parent
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
group 'Hook_MassiveFactions'
|
group 'Hook_MassiveFactions'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly "com.massivecraft:Factions:latest"
|
compileOnly "com.massivecraft:Factions:2.13.6"
|
||||||
compileOnly "com.massivecraft:MassiveCore:latest"
|
compileOnly "com.massivecraft:MassiveCore:2.13.6"
|
||||||
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
||||||
compileOnly project(":API")
|
compileOnly project(":API")
|
||||||
compileOnly parent
|
compileOnly parent
|
||||||
|
13
README.md
13
README.md
@ -16,19 +16,6 @@ You can compile the project using gradlew.<br>
|
|||||||
Run `gradlew build` in console to build the project.<br>
|
Run `gradlew build` in console to build the project.<br>
|
||||||
You can find already compiled jars on our [Jenkins](https://hub.bg-software.com/) hub!<br>
|
You can find already compiled jars on our [Jenkins](https://hub.bg-software.com/) hub!<br>
|
||||||
|
|
||||||
When compiling you will receive errors about missing dependencies.<br>
|
|
||||||
These dependencies are premium plugins that cannot be published on a public repository.<br>
|
|
||||||
You can do either of the followings in order to solve it:
|
|
||||||
- Add manually all the jar files of the premium plugins.
|
|
||||||
- Purchase access to our private repository.
|
|
||||||
- Disabling compiling of the modules of these dependencies in the `gradle.properties` file.
|
|
||||||
|
|
||||||
<br>
|
|
||||||
|
|
||||||
##### Private Jars:
|
|
||||||
- EpicSpawners by Songoda [[link]](https://songoda.com/marketplace/product/13)
|
|
||||||
|
|
||||||
|
|
||||||
## API
|
## API
|
||||||
|
|
||||||
The plugin is packed with a rich API for interacting with chunk loaders and more. When hooking into the plugin, it's highly recommended to only use the API and not the compiled plugin, as the API methods are not only commented, but also will not get removed or changed unless they are marked as deprecated. This means that when using the API, you won't have to do any additional changes to your code between updates.
|
The plugin is packed with a rich API for interacting with chunk loaders and more. When hooking into the plugin, it's highly recommended to only use the API and not the compiled plugin, as the API methods are not only commented, but also will not get removed or changed unless they are marked as deprecated. This means that when using the API, you won't have to do any additional changes to your code between updates.
|
||||||
|
15
build.gradle
15
build.gradle
@ -17,20 +17,7 @@ allprojects {
|
|||||||
maven { url 'https://repo.bg-software.com/repository/nms/' }
|
maven { url 'https://repo.bg-software.com/repository/nms/' }
|
||||||
maven { url 'https://repo.bg-software.com/repository/api/' }
|
maven { url 'https://repo.bg-software.com/repository/api/' }
|
||||||
maven { url 'https://repo.bg-software.com/repository/common/' }
|
maven { url 'https://repo.bg-software.com/repository/common/' }
|
||||||
maven { url 'https://repo.bg-software.com/repository/public-libs/' }
|
maven { url 'https://repo.bg-software.com/repository/dependencies/' }
|
||||||
|
|
||||||
String mavenUsername = System.getenv('mavenUsername') == null ? project.mavenUsername : System.getenv('mavenUsername');
|
|
||||||
String mavenPassword = System.getenv('mavenPassword') == null ? project.mavenUsername : System.getenv('mavenPassword');
|
|
||||||
|
|
||||||
if (mavenUsername != null && mavenPassword != null) {
|
|
||||||
maven {
|
|
||||||
url 'https://repo.bg-software.com/repository/private-libs/'
|
|
||||||
credentials {
|
|
||||||
username mavenUsername
|
|
||||||
password mavenPassword
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
@ -1,7 +1,3 @@
|
|||||||
# Maven related settings
|
|
||||||
# Used to access to the private-repository
|
|
||||||
mavenUsername=''
|
|
||||||
mavenPassword=''
|
|
||||||
# Compiling settings
|
# Compiling settings
|
||||||
# You can turn-off compiling of specific modules here by setting them to `false`
|
# You can turn-off compiling of specific modules here by setting them to `false`
|
||||||
nms.compile_v1_7=true
|
nms.compile_v1_7=true
|
||||||
|
Loading…
Reference in New Issue
Block a user