-
Hello I'm working on a recipe that finds build.gradle and build.gradle.kts files and I want to know what are they under? I have tried sourceFile, sourcePath and PlainText but none of them pick it up. |
Beta Was this translation helpful? Give feedback.
Answered by
timtebeek
Dec 9, 2024
Replies: 1 comment 5 replies
-
hi @Tajae1532 ! I find it helps to look at existing recipes when exploring a new recipe. For For .kts files look here: |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
timtebeek
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi @Tajae1532 ! I find it helps to look at existing recipes when exploring a new recipe. For
build.gradle
files look at this example:rewrite/rewrite-gradle/src/main/java/org/openrewrite/gradle/ChangeDependency.java
Lines 157 to 164 in 1095923