79206605

Date: 2024-11-20 09:45:50
Score: 0.5
Natty:
Report link

I found a solution how to configure yGuard to exclude the one method in a class:

            ...
            "rename"("logfile" to "${projectDir}/build/${rootProject.name}_renamelog.xml") {
                "keep" {
                    "class"(
                        "name" to "my.x.y.ProcessUtil",
                    )
                    "method"(
                        "name" to "boolean doProcess()",
                        "class" to "my.x.y.ProcessUtil"
                    )
                }

            }
            ...
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Alex1024