mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2024-11-12 10:23:59 +01:00
Changed all plugin dependencies to another repository
This commit is contained in:
parent
5ae2876a61
commit
6e0d1fa310
@ -16,8 +16,8 @@ publishing {
|
||||
}
|
||||
|
||||
repositories {
|
||||
String mavenUsername = System.getenv('mavenUsername') == null ? project.mavenUsername : System.getenv('mavenUsername');
|
||||
String mavenPassword = System.getenv('mavenPassword') == null ? project.mavenUsername : System.getenv('mavenPassword');
|
||||
String mavenUsername = System.getenv('mavenUsername');
|
||||
String mavenPassword = System.getenv('mavenPassword');
|
||||
|
||||
if (mavenUsername != null && mavenPassword != null) {
|
||||
maven {
|
||||
|
@ -1,7 +1,7 @@
|
||||
group 'Hook_EpicSpawners6'
|
||||
|
||||
dependencies {
|
||||
compileOnly "com.songoda:EpicSpawners-6:latest"
|
||||
compileOnly "com.songoda:EpicSpawners:6.0.6"
|
||||
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
||||
compileOnly project(":API")
|
||||
compileOnly parent
|
||||
|
@ -1,7 +1,7 @@
|
||||
group 'Hook_EpicSpawners6'
|
||||
|
||||
dependencies {
|
||||
compileOnly "com.songoda:EpicSpawners-7:latest"
|
||||
compileOnly "com.songoda:EpicSpawners:7.0.2"
|
||||
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
||||
compileOnly project(":API")
|
||||
compileOnly parent
|
||||
|
@ -1,7 +1,7 @@
|
||||
group 'Hook_FactionsUUID'
|
||||
|
||||
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 project(":API")
|
||||
compileOnly parent
|
||||
|
@ -1,7 +1,7 @@
|
||||
group 'Hook_FactionsX'
|
||||
|
||||
dependencies {
|
||||
compileOnly "net.prosavage:FactionsX:latest"
|
||||
compileOnly "net.prosavage:FactionsX:0.4.2"
|
||||
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
||||
compileOnly project(":API")
|
||||
compileOnly parent
|
||||
|
@ -1,7 +1,7 @@
|
||||
group 'Hook_Lands'
|
||||
|
||||
dependencies {
|
||||
compileOnly 'me.angeschossen:Lands:latest'
|
||||
compileOnly 'me.angeschossen:Lands:4.5.2.7'
|
||||
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
||||
compileOnly project(":API")
|
||||
compileOnly parent
|
||||
|
@ -1,8 +1,8 @@
|
||||
group 'Hook_MassiveFactions'
|
||||
|
||||
dependencies {
|
||||
compileOnly "com.massivecraft:Factions:latest"
|
||||
compileOnly "com.massivecraft:MassiveCore:latest"
|
||||
compileOnly "com.massivecraft:Factions:2.13.6"
|
||||
compileOnly "com.massivecraft:MassiveCore:2.13.6"
|
||||
compileOnly "org.spigotmc:v1_8_R3-Taco:latest"
|
||||
compileOnly project(":API")
|
||||
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>
|
||||
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
|
||||
|
||||
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/api/' }
|
||||
maven { url 'https://repo.bg-software.com/repository/common/' }
|
||||
maven { url 'https://repo.bg-software.com/repository/public-libs/' }
|
||||
|
||||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
maven { url 'https://repo.bg-software.com/repository/dependencies/' }
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -1,7 +1,3 @@
|
||||
# Maven related settings
|
||||
# Used to access to the private-repository
|
||||
mavenUsername=''
|
||||
mavenPassword=''
|
||||
# Compiling settings
|
||||
# You can turn-off compiling of specific modules here by setting them to `false`
|
||||
nms.compile_v1_7=true
|
||||
|
Loading…
Reference in New Issue
Block a user