FlatpakSourcesPlugin

class FlatpakSourcesPlugin : Plugin<Project> (source)

Captures every external resource URL Gradle reads via the internal BuildOperationListener API and emits a Flathub-compliant flatpak-sources.json at build finish.

Apply the companion settings plugin in settings.gradle.kts for complete capture from build start:

plugins { id("org.meshtastic.flatpak.sources.settings") version "..." }

The settings plugin auto-applies this plugin to the root project; there is no need to apply both.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun apply(target: Project)