com.github.dynamicextensionsalfresco.gradle.configuration.Repository.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-plugin Show documentation
Show all versions of gradle-plugin Show documentation
Adds an OSGi container to alfresco repository supporting dynamic code reloading, classpath isolation and a bunch of other useful features
package com.github.dynamicextensionsalfresco.gradle.configuration
import org.gradle.api.Project
/**
* @author Laurent Van der Linden
*/
class Repository {
Authentication authentication = new Authentication()
Endpoint endpoint = new Endpoint()
Project project
Repository(Project project) {
this.project = project
}
def authentication(Closure closure) {
project.configure(authentication, closure)
}
def endpoint(Closure closure) {
project.configure(endpoint, closure)
}
}