Skip to content

Commit

Permalink
Use dynamic-modules plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
rainboyan committed Aug 22, 2024
1 parent 28585d0 commit 83a2758
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
8 changes: 7 additions & 1 deletion plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down Expand Up @@ -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'])
}
}
}}

}

0 comments on commit 83a2758

Please sign in to comment.