From c956c7e7c2457709b1ee8754bba3d8e9573f13a3 Mon Sep 17 00:00:00 2001 From: Romain Rochegude Date: Wed, 6 May 2020 22:03:08 +0200 Subject: [PATCH] add @Internal annotation --- .../github/roroche/plantuml/tasks/BuildClassDiagramTask.groovy | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/groovy/com/github/roroche/plantuml/tasks/BuildClassDiagramTask.groovy b/src/main/groovy/com/github/roroche/plantuml/tasks/BuildClassDiagramTask.groovy index 7d04398..42ff5cd 100644 --- a/src/main/groovy/com/github/roroche/plantuml/tasks/BuildClassDiagramTask.groovy +++ b/src/main/groovy/com/github/roroche/plantuml/tasks/BuildClassDiagramTask.groovy @@ -5,6 +5,7 @@ import com.github.roroche.plantuml.diagrams.ClassDiagram import com.github.roroche.plantuml.diagrams.Diagram import com.github.roroche.plantuml.diagrams.DiagramWithLog import org.gradle.api.DefaultTask +import org.gradle.api.tasks.Internal import org.gradle.api.tasks.TaskAction import javax.inject.Inject @@ -62,6 +63,7 @@ class BuildClassDiagramTask extends DefaultTask implements CustomTask { diagram.print(extension.outputFile) } + @Internal protected ClassLoader getClassLoader() { final URL[] urls = project.sourceSets.main.output.classesDirs.files.collect { if (it != null) {