Skip to content

Commit

Permalink
add @internal annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
RoRoche committed May 6, 2020
1 parent 63ca4a7 commit c956c7e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit c956c7e

Please # to comment.