@@ -47,36 +47,36 @@ RuntimeException accessTransformerConfigNotDefined(Exception e, Attribute<Boolea
4747 .solution (HELP_MESSAGE ));
4848 }
4949
50- RuntimeException accessTransformerConfigMissing (Exception e , Attribute <Boolean > attribute , File atFile ) {
50+ RuntimeException accessTransformerConfigMissing (Exception e , Attribute <Boolean > attribute , String atFilePath ) {
5151 return this .getReporter ().throwing (e , this .id ("access-transformer-config-missing" , "Access transformer config file not found" ), spec -> spec
5252 .details ("""
5353 The access transformer cannot transform the input artifact because the configuration file could not be found.
5454 Attribute: %s
55- AccessTransformer Config: %s""" .formatted (attribute , atFile ))
55+ AccessTransformer Config: %s""" .formatted (attribute , atFilePath ))
5656 .severity (Severity .ERROR )
5757 .solution ("Ensure your AccessTransformers configuration file exists." )
5858 .solution ("Do not use AccessTransformers if you do not need to." )
5959 .solution (HELP_MESSAGE ));
6060 }
6161
62- RuntimeException accessTransformerConfigUnreadable (Throwable e , Attribute <Boolean > attribute , File atFile ) {
62+ RuntimeException accessTransformerConfigUnreadable (Throwable e , Attribute <Boolean > attribute , String atFilePath ) {
6363 return this .getReporter ().throwing (e , this .id ("access-transformer-config-unreadable" , "Access transformer config file not read" ), spec -> spec
6464 .details ("""
6565 The access transformer cannot transform the input artifact because the configuration file could not be read.
6666 This may be due to insufficient file permissions or a corrupted file.
6767 Attribute: %s
68- AccessTransformer Config: %s""" .formatted (attribute , atFile ))
68+ AccessTransformer Config: %s""" .formatted (attribute , atFilePath ))
6969 .severity (Severity .ERROR )
7070 .solution ("Ensure you (and/or Gradle) have proper read/write permissions to the AccessTransformer config file." )
7171 .solution (HELP_MESSAGE ));
7272 }
7373
74- RuntimeException accessTransformerConfigEmpty (Exception e , Attribute <Boolean > attribute , File atFile ) {
74+ RuntimeException accessTransformerConfigEmpty (Exception e , Attribute <Boolean > attribute , String atFilePath ) {
7575 return this .getReporter ().throwing (e , this .id ("access-transformer-config-empty" , "Access transformer config missing or empty" ), spec -> spec
7676 .details ("""
7777 The access transformer cannot transform the input artifact because the configuration file is empty or blank.
7878 Attribute: %s
79- AccessTransformer Config: %s""" .formatted (attribute , atFile ))
79+ AccessTransformer Config: %s""" .formatted (attribute , atFilePath ))
8080 .severity (Severity .ERROR )
8181 .solution ("Ensure your AccessTransformers configuration file contains definitions to be used." )
8282 .solution ("Do not use AccessTransformers if you do not need to." )
0 commit comments