![JAR search and dependency download from the Maven repository](/logo.png)
net.saliman.gradle.plugin.cobertura.CustomToolingModelBuilder.groovy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gradle-cobertura-plugin Show documentation
Show all versions of gradle-cobertura-plugin Show documentation
A Gradle plugin for runing Cobertura coverage reports.
package net.saliman.gradle.plugin.cobertura
import org.gradle.api.Project
import org.gradle.tooling.provider.model.ToolingModelBuilder
/**
* Created with IntelliJ IDEA.
* User: steve
* Date: 11/20/13
* Time: 6:00 PM
* To change this template use File | Settings | File Templates.
*
* @author Steven C. Saliman
*/
class CustomToolingModelBuilder implements ToolingModelBuilder {
boolean canBuild(String modelName) {
return modelName.equals(CustomModel.class.getName())
}
Object buildAll(String s, Project myProject) {
DefaultModel model = new DefaultModel(myProject)
// model.project = myProject
return model
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy