Link on github for the Java Plugin source code

I want to read the source code for the java plugin, but I can’t find it anywhere in the git repo on github (I checked the “subprojects” , the “core” and “core-impl” directories)… I also searched on Google and used the github search using the following query: “repo:gradle/gradle public class JavaPlugin implements Plugin” but all I could find was the Scala Plugin.

Can you tell me where is it exactly (provide a link or something), please?

Hello, the JavaPlugin is located at

cheers, René

it’s in ‘/gradle/subprojects/plugins/src/main/groovy/org/gradle/api/plugins’

EDIT: René beat me to it during my post!

Just a small GitHub tip - you can press ‘t’ to open a file finder. Then start typing and you will see only files that match your criteria. In the case of JavaPlugin, you get a fair number of matches since those words are generic. :slight_smile: