kmpoppe / noteSolver

JOSM Plugin: Automatically resolve notes after uploading a changeset.
https://wiki.openstreetmap.org/wiki/User:Kmpoppe/Plugins#noteSolver
GNU General Public License v3.0
12 stars 3 forks source link

Gradle warnings about Execution optimazions #15

Closed kmpoppe closed 2 years ago

kmpoppe commented 2 years ago

@floscher The gradle script you provided works like a charm. Only annoyance are there warnings:


Execution optimizations have been disabled for task ':jar' to ensure correctness due to the following reasons:
  - Additional action of task ':jar' was implemented by the Java lambda 'org.openstreetmap.josm.gradle.plugin.JosmPlugin$$Lambda$647/1797162399'. Reason: Using Java lambdas is not supported as task inputs. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implementation_unknown for more details about this problem.
  - Additional action of task ':jar' was implemented by the Java lambda 'org.openstreetmap.josm.gradle.plugin.task.JarWithManifestKt$$Lambda$684/525459450'. Reason: Using Java lambdas is not supported as task inputs. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implementation_unknown for more details about this problem.
  ? Finished after 0,10 seconds.

> Task :localDist
Execution optimizations have been disabled for task ':localDist' to ensure correctness due to the following reasons:
  - Additional action of task ':localDist' was implemented by the Java lambda 'org.openstreetmap.josm.gradle.plugin.task.TaskSetupKt$$Lambda$689/1319200497'. Reason: Using Java lambdas is not supported as task inputs. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implementation_unknown for more details about this problem.
  - Additional action of task ':localDist' was implemented by the Java lambda 'org.openstreetmap.josm.gradle.plugin.task.TaskSetupKt$$Lambda$690/125372590'. Reason: Using Java lambdas is not supported as task inputs. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implementation_unknown for more details about this problem.
Writing list of 1 plugins to C:\_dev\GitHub\noteSolver\notesolver\build\localDist\list à
A local JOSM update site for plugin 'notesolver-dev' (version 0.4.1-2) has been written to C:\_dev\GitHub\noteSolver\notesolver\build\localDist\list
  ? Finished after 0,01 seconds.

> Task :dist
Execution optimizations have been disabled for task ':dist' to ensure correctness due to the following reasons:
  - Additional action of task ':dist' was implemented by the Java lambda 'org.openstreetmap.josm.gradle.plugin.task.TaskSetupKt$$Lambda$691/1296864607'. Reason: Using Java lambdas is not supported as task inputs. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implementation_unknown for more details about this problem.
  - Additional action of task ':dist' was implemented by the Java lambda 'org.openstreetmap.josm.gradle.plugin.task.TaskSetupKt$$Lambda$692/46123040'. Reason: Using Java lambdas is not supported as task inputs. Please refer to https://docs.gradle.org/7.4/userguide/validation_problems.html#implementation_unknown for more details about this problem.
Distribution notesolver.jar (version 0.4.1-2) has been written into C:\_dev\GitHub\noteSolver\notesolver\build\dist
  ? Finished after 0,07 seconds.```

... which won't even disappear when running wih  `--warning-mode none` - am I correct in assuming that these would need to be fixed on JOSM's side in the package?
floscher commented 2 years ago

Yes, these warnings are caused by the gradle-josm-plugin and will be fixed in the next version, see https://gitlab.com/JOSM/gradle-josm-plugin/-/issues/18

Other than producing annoying console output and maybe decreasing the build performance a bit, they normally shouldn't cause issues with the build.

kmpoppe commented 2 years ago

Wonderful, thanks! When I put Notifications on in GitLab my guess is that I'll be notified when you close the issue and I get to find out the new version number to put into build.gradle.kts?

kmpoppe commented 2 years ago

Updated to 0.8.1 of gradle-plugin, no warnings.

floscher commented 2 years ago

@kmpoppe You can directly upgrade to 0.8.2, since the version 0.8.1 had another issue that is now fixed. See https://github.com/floscher/gradle-josm-plugin/issues/15

kmpoppe commented 2 years ago

Thanks for the heads-up Florian, will do.

K

Florian Schäfer @.***> schrieb am So., 12. Juni 2022, 07:53:

@kmpoppe https://github.com/kmpoppe You can directly upgrade to 0.8.2, since the version 0.8.1 had another issue that is now fixed. See floscher/gradle-josm-plugin#10 https://github.com/floscher/gradle-josm-plugin/issues/10

— Reply to this email directly, view it on GitHub https://github.com/kmpoppe/noteSolver/issues/15#issuecomment-1153079175, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF2RRB3TVIOXOFHJHP3HE6DVOV3NXANCNFSM5QU5AR5Q . You are receiving this because you were mentioned.Message ID: @.***>