[] (https://circleci.com/gh/nickwph/artifactid-gradle) [] (https://codecov.io/github/nickwph/artifactid-gradle) [ ] (https://bintray.com/nickwph/maven/artifactid-gradle/_latestVersion)
Allow you to do following in build.gradle
.
In the background it will do ext.artifactId = 'the-artifact-id'
.
id 'the-artifact-id'
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.nicholasworkshop:gradle-artifactid:1.0.0'
}
}
apply plugin: 'com.nicholasworkshop.artifactid'
id 'the-artifact-id'
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. |