Git Product home page Git Product logo

epirus-gradle-plugin's Introduction

Epirus Gradle Plugin

Gradle Plugin for the Epirus Platform enabling the automation of smart contract lifecycle within your development environment.

Plugin configuration

The minimum Gradle version to run the plugin is 5.+.

Using the buildscript convention

To install the Epirus Plugin using the old Gradle buildscript convention, you should add the following to the first line of your build file:

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
        classpath 'com.web3labs.epirus:epirus-gradle-plugin:1.0.0-SNAPSHOT'
    }
}

apply plugin: 'com.web3labs.epirus'

Using the plugins DSL

Alternatively, if you are using the more modern plugins DSL, add the following line to your build file:

plugins {
    id 'com.web3labs.epirus' version '1.0.0-SNAPSHOT'
}

Plugin tasks

The plugin depends on the web3j and the Solidity plugins so they will add tasks for compilation and generation of web3j contract wrappers.

In addition, this plugin registers the task uploadMetadata, which will upload automatically the Solidity contract metadata files to your Epirus node.

To customize the plugin with your node URL you can use the plugin extension DSL:

epirus {
    url = 'http://user:[email protected]:port'
}

To obtain a list and description of all added tasks, run the command:

./gradlew tasks --all

epirus-gradle-plugin's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.