diff --git a/plugin/build.gradle b/plugin/build.gradle index b5b0aa6..be4818c 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -23,14 +23,20 @@ apply plugin: "signing" repositories { mavenCentral() + maven { + url "https://s01.oss.sonatype.org/content/repositories/snapshots/" + mavenContent { + snapshotsOnly() + } + } } dependencies { compileOnly "org.springframework.boot:spring-boot-autoconfigure" compileOnly "org.graceframework:grace-core" compileOnly "org.graceframework:grace-plugin-controllers" - compileOnly "org.graceframework:grace-plugin-dynamic-modules" compileOnly "org.graceframework:grace-plugin-gsp" + implementation "org.graceframework.plugins:dynamic-modules:1.0.0-SNAPSHOT" implementation "org.apache.commons:commons-lang3:3.12.0" profile "org.graceframework.profiles:web-plugin" } diff --git a/plugin/src/main/groovy/org/graceframework/plugins/admin/AdminConsoleGrailsPlugin.groovy b/plugin/src/main/groovy/org/graceframework/plugins/admin/AdminConsoleGrailsPlugin.groovy index acd6a50..b646b71 100644 --- a/plugin/src/main/groovy/org/graceframework/plugins/admin/AdminConsoleGrailsPlugin.groovy +++ b/plugin/src/main/groovy/org/graceframework/plugins/admin/AdminConsoleGrailsPlugin.groovy @@ -67,7 +67,7 @@ A powerful and flexible, extensible administration framework and management cons } } - void doWithDynamicModules() { + Closure doWithDynamicModules() { {-> // TODO Implement registering dynamic modules to application (optional) webSection(key: "admin.navigation.bar", name: "Admin Navigation Bar", i18nNameKey: "admin.menu.section.navigation.bar") @@ -117,6 +117,6 @@ A powerful and flexible, extensible administration framework and management cons label(key: "admin.menu.system.actuator.loggers") link(linkId: "actuator_loggers", url: [namespace: 'admin', controller: 'actuator', action: 'loggers']) } - } + }} }