Treat the gadget.yaml like other snap meta files
Metadata
Current evaluation
No evaluation has been recorded for this issue yet.
Issue body
### What needs to get done
The `gadget.yaml` should be required to be located in `snap/gadget.yaml` of the snap project directory instead of in the root of the project directory. This should not interfere with the `gadget.yaml` being migrated to its final location in `${SNAP}/meta/gadget.yaml`.
### Why it needs to get done
Currently, the `gadget.yaml` for a gadget snap must be located in the root of the project directory.
The `snapcraft.yaml` was previously also located in the root of the project directory, but was migrated to `snap/snapcraft.yaml`. Likewise, hooks are in `snap/hooks/`, and are moved (in some relevant way) to `${SNAP}/meta/hooks/` at the end of the build.
For continuity, it would be make sense to require that the `gadget.yaml` be located in `snap/gadget.yaml`. This would ensure uniformity in the way `snapcraft` treats all snap-related meta information.
Evaluation history
No evaluation history available.