Devsoap license extension
| Modifiers | Name | Description |
|---|---|---|
static class |
DevsoapLicenseExtension.Credential |
| Constructor and description |
|---|
DevsoapLicenseExtension
(org.gradle.api.Project project)Creates the devsoap extension |
| Type Params | Return Type | Name and description |
|---|---|---|
|
DevsoapLicenseExtension.Credential |
credential(java.lang.String product, java.lang.String email = null, java.lang.String key = null, groovy.lang.Closure configure = null)Set the credentials for a product |
|
DevsoapLicenseExtension.Credential |
getCredential(java.lang.String product)Get credentials for a product |
|
java.lang.String |
getEmail()The license email |
|
java.lang.String |
getKey()The license key |
|
java.io.File |
getLicenseFile()The license file used to cache licence offline |
|
java.util.List<java.lang.String> |
getProducts()Get products with registrations |
|
void |
setEmail(java.lang.String email)Set the license email |
|
void |
setKey(java.lang.String key)Set the license key |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Creates the devsoap extension
project
- the project to create the extension forSet the credentials for a product
product
- the product to set credentials foremail
- the email addresskey
- the keyGet credentials for a product
The license email
The license key
The license file used to cache licence offline
Get products with registrations
Set the license email
email
- The email address you registered the product withSet the license key
key
- the license key you recieved via registrationGroovy Documentation