gradle-project-extensions

Download from MavenCentral

dependencies {
implementation("com.javiersc.gradle:gradle-project-extensions:$version")
}

Usage

project.isRootProject // `true` for root, `false` for subprojects
project.module // "${project.group}:${project.name}"
project.library // "${project.group}:${project.name}:${project.version}"
project.isSnapshot // `true` if version ends with `-SNAPSHOT`
project.isNotSnapshot // `true` if version does not ends with `-SNAPSHOT`

Packages

Link copied to clipboard