Skip to content

What is a build.gradle identified as? #4763

Answered by timtebeek
Tajae1532 asked this question in Q&A
Discussion options

You must be logged in to vote

hi @Tajae1532 ! I find it helps to look at existing recipes when exploring a new recipe. For build.gradle files look at this example:

public TreeVisitor<?, ExecutionContext> getVisitor() {
return Preconditions.check(new FindGradleProject(FindGradleProject.SearchCriteria.Marker).getVisitor(), new GroovyIsoVisitor<ExecutionContext>() {
final DependencyMatcher depMatcher = requireNonNull(DependencyMatcher.build(oldGroupId + ":" + oldArtifactId).getValue());
GradleProject gradleProject;
@Override
public G.CompilationUnit visitCompilationUnit

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Tajae1532
Comment options

@timtebeek
Comment options

@Tajae1532
Comment options

@timtebeek
Comment options

@shanman190
Comment options

Answer selected by timtebeek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants