Skip to content

nickwph/artifactid-gradle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Artifact Id Gradle Plugin

[Circle CI] (https://circleci.com/gh/nickwph/artifactid-gradle) [codecov.io] (https://codecov.io/github/nickwph/artifactid-gradle) [ Download] (https://bintray.com/nickwph/maven/artifactid-gradle/_latestVersion)

What does this plugin do

Allow you to do following in build.gradle.
In the background it will do ext.artifactId = 'the-artifact-id'.

id 'the-artifact-id'

Usage

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.nicholasworkshop:gradle-artifactid:1.0.0'
    }
}

apply plugin: 'com.nicholasworkshop.artifactid'

id 'the-artifact-id'

DSL

Method Description
void id(String) Set Id.
String getId() Return the id, null will be reutned if id is not set.
boolean hasId() Return if id is set.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages