diff --git a/plugin/build.gradle b/plugin/build.gradle index cf773101..a2347bb5 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -13,6 +13,7 @@ group = "org.grails.plugins" apply plugin: 'groovy' apply plugin: 'java-library' + apply plugin: 'org.grails.grails-plugin' dependencies { @@ -41,7 +42,5 @@ dependencies { apply from: rootProject.layout.projectDirectory.file('gradle/java-config.gradle') apply from: rootProject.layout.projectDirectory.file('gradle/test-config.gradle') -// groovy docs will be generated by the docs project -tasks.withType(Groovydoc).configureEach { - enabled = false -} \ No newline at end of file +// While the aggregated groovydoc will be generated for the project documentation, we must still leave the groovydoc +// task for this project enabled so the javadoc is generated and included in the published javadoc jar file \ No newline at end of file diff --git a/plugin/grails-app/conf/application.yml b/plugin/grails-app/conf/application.yml deleted file mode 100644 index 05860d38..00000000 --- a/plugin/grails-app/conf/application.yml +++ /dev/null @@ -1,99 +0,0 @@ ---- -grails: - profile: web-plugin - codegen: - defaultPackage: cache - gorm: - reactor: - # Whether to translate GORM events into Reactor events - # Disabled by default for performance reasons - events: false -info: - app: - name: '@info.app.name@' - version: '@info.app.version@' - grailsVersion: '@info.app.grailsVersion@' -spring: - jmx: - unique-names: true - main: - banner-mode: "off" - groovy: - template: - check-template-location: false - devtools: - restart: - exclude: - - grails-app/views/** - - grails-app/i18n/** - - grails-app/conf/** -management: - endpoints: - enabled-by-default: false - ---- -grails: - mime: - disable: - accept: - header: - userAgents: - - Gecko - - WebKit - - Presto - - Trident - types: - all: '*/*' - atom: application/atom+xml - css: text/css - csv: text/csv - form: application/x-www-form-urlencoded - html: - - text/html - - application/xhtml+xml - js: text/javascript - json: - - application/json - - text/json - multipartForm: multipart/form-data - pdf: application/pdf - rss: application/rss+xml - text: text/plain - hal: - - application/hal+json - - application/hal+xml - xml: - - text/xml - - application/xml - urlmapping: - cache: - maxsize: 1000 - controllers: - defaultScope: singleton - converters: - encoding: UTF-8 - views: - default: - codec: html - gsp: - encoding: UTF-8 - htmlcodec: xml - codecs: - expression: html - scriptlets: html - taglib: none - staticparts: none -endpoints: - jmx: - unique-names: true ---- -environments: - test: - grails: - cache: - cacheManager: GrailsConcurrentLinkedMapCacheManager - caches: - foo: - maxCapacity: 100 - bar: - maxCapacity: 200 diff --git a/plugin/grails-app/conf/logback.xml b/plugin/grails-app/conf/logback.xml deleted file mode 100644 index f4e77836..00000000 --- a/plugin/grails-app/conf/logback.xml +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - UTF-8 - '%clr(%d{yyyy-MM-dd HH:mm:ss.SSS}){faint} %clr(%5p) %clr(---){faint} %clr([%15.15t]){faint} %clr(%-40.40logger{39}){cyan} %clr(:){faint} %m%n%wex' - - - - - - - \ No newline at end of file diff --git a/plugin/grails-app/init/cache/Application.groovy b/plugin/grails-app/init/cache/Application.groovy deleted file mode 100644 index 14bf6ea9..00000000 --- a/plugin/grails-app/init/cache/Application.groovy +++ /dev/null @@ -1,12 +0,0 @@ -package cache - -import grails.boot.* -import grails.boot.config.GrailsAutoConfiguration -import grails.plugins.metadata.* - -@PluginSource -class Application extends GrailsAutoConfiguration { - static void main(String[] args) { - GrailsApp.run(Application, args) - } -}