Where does gradle store banks of external plugins?

I am using an external gradle plugin called jsonschema2pojo. To do this, I added the following code inside the build.gradle file, and I could successfully use this plugin. But I can’t find a jar that needs to be loaded and stored somewhere.

Where can I find a jar downloadable for an external plugin?

I looked into the ~ / .gradle / caches / folder. For me, the caches folder contains the following subfolders: 2.11, 3.3, banks-1, modules-2, artifacts-24, jars-2.

In this project, I use the gradle shell (with gradle version 2.11) to create the project. So I looked into the ~ / .gradle / caches / 2.11 folder, which contains the following subdirectories: permission plugin, scripts, workMain.

I was expecting the pitcher to start with jsonschhema2pojo around here, but couldn't find it.

buildscript {
    repositories {
        mavenLocal()
    }

    dependencies {
        classpath 'org.jsonschema2pojo:jsonschema2pojo-gradle-plugin:0.4.29'
    }
}

apply plugin: 'jsonschema2pojo'
+4
1

.jar ~/.gradle/caches/modules-2/files-2.1/.

+3

Source: https://habr.com/ru/post/1667519/


All Articles