so I decided to revisit the build service idea (fo...
# community-support
c
so I decided to revisit the build service idea (for auto closable)
Copy code
An exception occurred applying plugin request [id: 'com.xenoterracide.gradle.sem-ver']
> Failed to apply plugin 'com.xenoterracide.gradle.sem-ver'.
   > Could not create an instance of type com.xenoterracide.gradle.semver.AbstractGitService$Params.
      > Could not generate a decorated class for type AbstractGitService.Params.
         > Cannot have abstract method Params.projectDir().
c
is that the right
Params
? Error message says
Params.projectDir
but the class has
projectDirectory
. Perhaps it should be
public abstract class AbstractGitService implements BuildService<AbstractGitService.Params>, AutoCloseable
?
v
As the right
Params
is imported, I guess it is the right one and the error message was manually mistyped. Try naming the param
get...()
c
@Vampire yeah, that was it
👌 1