println 'buildSrc quiet'
logger.info 'buildSrc info'

task classes << {}

convention.plugins.java = new ProjectInfo(project: project);

class ProjectInfo implements org.gradle.api.internal.plugins.EmbeddableJavaProject {
    def Project project

    Collection<String> getRebuildTasks() {
        return ['classes']
    }

    Collection<String> getBuildTasks() {
        return ['classes']
    }

    FileCollection getRuntimeClasspath() {
        return project.files()
    }
}