Skip to content
This repository has been archived by the owner on Jan 17, 2022. It is now read-only.

Latest commit

 

History

History
48 lines (34 loc) · 1.15 KB

README.md

File metadata and controls

48 lines (34 loc) · 1.15 KB

Gradle Escrow Build


Build Status

Goals

The goals of the gradle escrow plugin is to make it easily possible to transfer code as well as all dependencies from a well connected environment to a disconnected environment. It does this creating a local maven repository within your working directory.

Use

If using Gradle 2.1 or newer include the following at the top of your build script.

plugins {
  id "com.bszeliga.gradle.escrow" version "0.0.1"
}

Otherwise:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.bszeliga.gradle:escrow:0.0.1"
  }
}

apply plugin: "com.bszeliga.gradle.escrow"

Tasks

Relevant tasks for the plugin are listed below.

Task Description
escrow Analyzes all your configurations and creates copy of all resolved artifacts into a .m2 directory within the project.
escrowClean Deletes the above created directory.