diff --git a/API/build.gradle b/API/build.gradle index e99ff4e..aaae920 100644 --- a/API/build.gradle +++ b/API/build.gradle @@ -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 { diff --git a/Hook_EpicSpawners6/build.gradle b/Hook_EpicSpawners6/build.gradle index 2cea1a0..8a83c30 100644 --- a/Hook_EpicSpawners6/build.gradle +++ b/Hook_EpicSpawners6/build.gradle @@ -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 diff --git a/Hook_EpicSpawners7/build.gradle b/Hook_EpicSpawners7/build.gradle index d3d74d8..c96f5f4 100644 --- a/Hook_EpicSpawners7/build.gradle +++ b/Hook_EpicSpawners7/build.gradle @@ -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 diff --git a/Hook_FactionsUUID/build.gradle b/Hook_FactionsUUID/build.gradle index a53bf6f..b4ae45e 100644 --- a/Hook_FactionsUUID/build.gradle +++ b/Hook_FactionsUUID/build.gradle @@ -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 diff --git a/Hook_FactionsX/build.gradle b/Hook_FactionsX/build.gradle index 59e383e..88fa43a 100644 --- a/Hook_FactionsX/build.gradle +++ b/Hook_FactionsX/build.gradle @@ -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 diff --git a/Hook_Lands/build.gradle b/Hook_Lands/build.gradle index d0829b0..0220eff 100644 --- a/Hook_Lands/build.gradle +++ b/Hook_Lands/build.gradle @@ -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 diff --git a/Hook_MassiveFactions/build.gradle b/Hook_MassiveFactions/build.gradle index 17f3ea7..0107ac2 100644 --- a/Hook_MassiveFactions/build.gradle +++ b/Hook_MassiveFactions/build.gradle @@ -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 diff --git a/README.md b/README.md index b4a7e8c..4b1d774 100644 --- a/README.md +++ b/README.md @@ -16,19 +16,6 @@ You can compile the project using gradlew.
Run `gradlew build` in console to build the project.
You can find already compiled jars on our [Jenkins](https://hub.bg-software.com/) hub!
-When compiling you will receive errors about missing dependencies.
-These dependencies are premium plugins that cannot be published on a public repository.
-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. - -
- -##### 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. diff --git a/build.gradle b/build.gradle index 300717a..66beb19 100644 --- a/build.gradle +++ b/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 { diff --git a/gradle.properties b/gradle.properties index fa22f09..c2b5fc3 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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