Isaac Hudson
01/02/2025, 7:25 PMimport grails.async.DelegateAsync
class AsyncEmailService {
@DelegateAsync EmailService emailService
}
When trying to run compileGroovy with gradle though, it fails with this error:
.../AsyncEmailService.groovy: 4: The return type of grails.async.Promise setProperty(java.lang.String, java.lang.Object) in email.AsyncEmailService is incompatible with void in groovy.lang.GroovyObject
. At [4:1] @ line 4, column 1.
class AsyncEmailService {
^
Anyone know what could be causing this issue? Happy to provide any other detailsIsaac Hudson
01/02/2025, 8:06 PMgrailsVersion=5.3.0
grailsGradlePluginVersion=5.2.5
groovyVersion=3.0.11
gorm.version=7.3.2
gradleWrapperVersion=7.2jdaugherty
01/06/2025, 11:03 PMIsaac Hudson
01/06/2025, 11:20 PMproperty on EmailService 🤔