# This file configures Charmcraft. # See https://documentation.ubuntu.com/charmcraft/stable/reference/files/charmcraft-yaml-file/ type: charm name: flutter-artifacts-proxy title: Flutter artifacts hosting proxy summary: A reverse proxy serving static Flutter artifacts, proxying to Google's servers by default. description: | Nginx reverse proxy defaulting to Google's servers, serving local files first. This allows hosting specific Flutter artifacts that we want control over, while defaulting to Google for the rest. This is useful for riscv64 builds of the Flutter engine, that Google does not yet host. This charm is made for Ubuntu experimental builds of Flutter packages on riscv64. # Documentation: # https://documentation.ubuntu.com/charmcraft/stable/howto/build-guides/select-platforms/ base: ubuntu@22.04 platforms: amd64: arm64: parts: charm: plugin: uv source: . build-snaps: - astral-uv