Skip to content

Plugin to configure Gradle build for reproducible maven artifacts

License

Notifications You must be signed in to change notification settings

jskov/reproducible-gradle

Repository files navigation

reproducible-gradle

Quality Gate Status Reproducible Builds

A small Gradle plugin that enables reproducible builds by configuring archive tasks to be reproducible.

The only thing this Plugin provides is a slight simplification of the build files.

Using the Plugin

Add plugin activation to the build file header (substitute the relevant version):

plugins {
    ...
    id 'dk.mada.reproducible' version '1.n.n'
}

And make sure the plugin can be fetched from MavenCentral by adding this to settings.gradle:

pluginManagement {
    repositories {
        gradlePluginPortal()
        mavenCentral()
    }
}

Development

For testing snapshot builds in other projects:

$ ./gradlew -t publishToMavenLocal -Pversion=0.0.1

About

Plugin to configure Gradle build for reproducible maven artifacts

Resources

License

Stars

Watchers

Forks

Languages