Search Gradle plugins

Resolves dependencies published as Nostr release events and Blossom blobs, pinned per group to a publisher key.

https://github.com/vitorpamplona/magpie

Sources: https://github.com/vitorpamplona/magpie

Version 0.2.3 (latest)

Created 19 November 2026.

A settings plugin that serves libraries published on Nostr and Blossom to Gradle as a local Maven repository, with no registry or server to run. A group's domain vouches for its release key (releases@<domain> in nostr.json), a lock file pins that key and every resolved version's files, and every file is checked against its sha256. Each publisher's releases are read from its own relays. Works offline, with snapshots, dynamic versions and the configuration cache. Needs Gradle 8.8+ on Java 21. Setup: https://github.com/vitorpamplona/magpie#use-a-library-published-with-magpie

Gradle features compatibility:
Configuration cache ✓
(Incubating) Isolated Projects ?

Add this plugin to your build using the plugins DSL:

plugins {
  id("com.vitorpamplona.magpie") version "0.2.3"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("com.vitorpamplona.magpie:com.vitorpamplona.magpie.gradle.plugin:0.2.3")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("com.vitorpamplona.magpie")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("com.vitorpamplona.magpie:com.vitorpamplona.magpie.gradle.plugin:0.2.3")
      }
    }
    
    apply(plugin = "com.vitorpamplona.magpie")
  • Applying plugins to all subprojects .