Skip to content

Commit

Permalink
gradle: Update gradle dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
OpenOSRS authored and Owain van Brakel committed Nov 10, 2020
1 parent 3fb8e68 commit 8a696b9
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 12 deletions.
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,14 @@ buildscript {
}
dependencies {
classpath("org.ajoberstar.grgit:grgit-core:4.1.0")
classpath("com.github.ben-manes:gradle-versions-plugin:0.34.0")
classpath("com.github.ben-manes:gradle-versions-plugin:0.36.0")
classpath("com.openosrs:injector-plugin:1.1.7")
}
}

plugins {
id("com.adarshr.test-logger") version "2.1.1" apply false
id("com.github.ben-manes.versions") version "0.34.0"
id("com.github.ben-manes.versions") version "0.36.0"
id("se.patrikerdes.use-latest-versions") version "0.2.15"
id("org.ajoberstar.grgit") version "4.1.0"
id("com.simonharrer.modernizer") version "2.1.0-1" apply false
Expand Down
12 changes: 6 additions & 6 deletions runelite-client/runelite-client.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ description = "RuneLite Client"

dependencies {
annotationProcessor(group = "org.projectlombok", name = "lombok", version = "1.18.16")
annotationProcessor(group = "org.pf4j", name = "pf4j", version = "3.4.1")
annotationProcessor(group = "org.pf4j", name = "pf4j", version = "3.5.0")

api(project(":runelite-api"))

Expand All @@ -64,13 +64,13 @@ dependencies {
implementation(group = "org.apache.commons", name = "commons-text", version = "1.9")
implementation(group = "commons-io", name = "commons-io", version = "2.8.0")
implementation(group = "org.jetbrains", name = "annotations", version = "20.1.0")
implementation(group = "org.jooq", name = "jooq", version = "3.14.1")
implementation(group = "org.jooq", name = "jooq-codegen", version = "3.14.1")
implementation(group = "org.jooq", name = "jooq-meta", version = "3.14.1")
implementation(group = "io.sentry", name = "sentry-logback", version = "3.1.2")
implementation(group = "org.jooq", name = "jooq", version = "3.14.2")
implementation(group = "org.jooq", name = "jooq-codegen", version = "3.14.2")
implementation(group = "org.jooq", name = "jooq-meta", version = "3.14.2")
implementation(group = "io.sentry", name = "sentry-logback", version = "3.1.3")
implementation(group = "com.github.zafarkhaja", name = "java-semver", version = "0.9.0")
implementation(group = "org.slf4j", name = "slf4j-api", version = "1.7.30")
implementation(group = "org.pf4j", name = "pf4j", version = "3.4.1") {
implementation(group = "org.pf4j", name = "pf4j", version = "3.5.0") {
exclude(group = "org.slf4j")
}
implementation(group = "org.pf4j", name = "pf4j-update", version = "2.3.0")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,14 @@ protected PluginLoader createPluginLoader()
@Override
public void loadPlugins()
{
if (Files.notExists(pluginsRoot) || !Files.isDirectory(pluginsRoot))
for (Path path : pluginsRoots)
{
log.warn("No '{}' root", pluginsRoot);
return;
if (Files.notExists(path) || !Files.isDirectory(path))
{
log.warn("No '{}' root", path);

return;
}
}

List<Path> pluginPaths = pluginRepository.getPluginPaths();
Expand Down Expand Up @@ -153,7 +157,7 @@ public void loadPlugins()
{
if (!ExternalPluginManager.isDevelopmentMode())
{
String plugin = pluginPath.toString().substring(pluginsRoot.toString().length() + 1);
String plugin = pluginPath.toString().substring(pluginsRoots.get(0).toString().length() + 1);
duplicatePlugins.add(plugin);
}
log.error("Could not load plugin {}", pluginPath, e);
Expand Down

0 comments on commit 8a696b9

Please sign in to comment.