diff --git a/build.gradle b/build.gradle index e6863d1..6894ea3 100644 --- a/build.gradle +++ b/build.gradle @@ -63,6 +63,10 @@ subprojects { project-> apply plugin: "org.gradle.test-retry" apply plugin: "io.spring.dependency-management" + if (project.name.startsWith('grace-plugin')) { + apply plugin: 'org.graceframework.grace-plugin' + } + sourceCompatibility = 11 targetCompatibility = 11 diff --git a/grace-plugin-async/build.gradle b/grace-plugin-async/build.gradle index 93c1eb5..dbe9c18 100644 --- a/grace-plugin-async/build.gradle +++ b/grace-plugin-async/build.gradle @@ -8,3 +8,9 @@ dependencies { testImplementation "org.graceframework:grace-test:$graceVersion" testImplementation "org.springframework:spring-test:$springVersion" } + +jar { + enabled = true + archiveClassifier.set('') + includeEmptyDirs = false +} \ No newline at end of file diff --git a/grace-plugin-async/src/main/groovy/org/grails/plugins/web/async/ControllersAsyncGrailsPlugin.groovy b/grace-plugin-async/src/main/groovy/org/grails/plugins/web/async/ControllersAsyncGrailsPlugin.groovy index 293bc2a..04b7c4f 100644 --- a/grace-plugin-async/src/main/groovy/org/grails/plugins/web/async/ControllersAsyncGrailsPlugin.groovy +++ b/grace-plugin-async/src/main/groovy/org/grails/plugins/web/async/ControllersAsyncGrailsPlugin.groovy @@ -32,7 +32,7 @@ import org.springframework.context.annotation.Role * @since 2.0 */ class ControllersAsyncGrailsPlugin extends Plugin { - def grailsVersion = "3.3.0 > *" + def grailsVersion = "2022.0.0 > *" def loadAfter = ['controllers'] Closure doWithSpring() {{-> asyncPromiseResponseActionResultTransformer(AsyncActionResultTransformer) diff --git a/grace-plugin-events/build.gradle b/grace-plugin-events/build.gradle index 87bf0b4..cb42fad 100644 --- a/grace-plugin-events/build.gradle +++ b/grace-plugin-events/build.gradle @@ -3,3 +3,9 @@ dependencies { api project(":grace-events"), project(":grace-events-transform") api project(":grace-events-compat") } + +jar { + enabled = true + archiveClassifier.set('') + includeEmptyDirs = false +} diff --git a/grace-plugin-events/src/main/groovy/org/grails/plugins/events/EventBusGrailsPlugin.groovy b/grace-plugin-events/src/main/groovy/org/grails/plugins/events/EventBusGrailsPlugin.groovy index b11eeee..727b10d 100644 --- a/grace-plugin-events/src/main/groovy/org/grails/plugins/events/EventBusGrailsPlugin.groovy +++ b/grace-plugin-events/src/main/groovy/org/grails/plugins/events/EventBusGrailsPlugin.groovy @@ -36,7 +36,7 @@ import reactor.bus.EventBus @Slf4j class EventBusGrailsPlugin extends Plugin { - def grailsVersion = "3.3.0 > *" + def grailsVersion = "2022.0.0 > *" /** * Whether to translate GORM events into reactor events diff --git a/publishing/mavenCentral.gradle b/publishing/mavenCentral.gradle index 5af9af5..38bdcbd 100644 --- a/publishing/mavenCentral.gradle +++ b/publishing/mavenCentral.gradle @@ -3,7 +3,7 @@ ext."signing.password" = rootProject.hasProperty("signing.password") ? rootProje ext."signing.secretKeyRingFile" = rootProject.hasProperty("signing.secretKeyRingFile") ? rootProject.getProperty('signing.secretKeyRingFile') : "${System.properties['user.home']}${File.separator}.gnupg${File.separator}secring.gpg" ext.pomInfo = { - delegate.url 'https://async.graceframework.org/latest/' + delegate.url 'https://github.com/graceframework/grace-async' delegate.licenses { delegate.license { delegate.name 'The Apache Software License, Version 2.0' @@ -11,7 +11,7 @@ ext.pomInfo = { } } delegate.scm { - delegate.url 'https://github.com/graceframework/grace-async/' + delegate.url 'https://github.com/graceframework/grace-async' delegate.connection 'scm:git:git://github.com/graceframework/grace-async' delegate.developerConnection 'scm:git:ssh://github.com:graceframework/grace-async' }