[Forge] mixin refmap is empty when building jar[Success]

Hello, I am having a problem with mixin when I build an environment, when trying to load it throws errors like "could not find any targets match method ", but in the dev environment it works fine, i later found that the refmap.json does not contain any information, it looks like this:
{
“mappings”: {},
“data”: {}
}

I am trying to figure why the mappings aren’t being loaded into the refmap if anyone knows a fix pls do say
build.gradle:

seems to be a problem with @ModifyConstraints i change the way i did things and everything was fine