I have questions, that I have yet to be able to fi...
# android
m
I have questions, that I have yet to be able to find the docs for it. When creating project in Android Studio, with gradle and android build plugins - few configurations are automatically added. Is there a way to identify which plugin is responsible for originating such configuration. For example, Top level,
Copy code
buildscript {
    ext.kotlin_version = '1.5.21'
    repositories {
        google()
        mavenCentral()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:7.0.0'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
    }
}
task clean(type: Delete) {
    delete rootProject.buildDir
}
I see that it automatically creates whole bunch of configurations. I want to find origin, and documentation for each of them. My end goal is to identify if the configuration is used for runtime (production/distribution) or only in dev (compile/test/debug). I'm hitting stonewall. Any suggestions? Here are some of the automatically generated configuration I'm trying to figure about:
Copy code
"androidJdkImage",
  "compileOnlyDependenciesMetadata",
  "implementationDependenciesMetadata",
  "intransitiveDependenciesMetadata",
  "kotlinCompilerClasspath",
  "kotlinCompilerPluginClasspath",
  "kotlinCompilerPluginClasspathDebug",
  "kotlinCompilerPluginClasspathDebugAndroidTest",
  "kotlinCompilerPluginClasspathDebugUnitTest",
  "kotlinCompilerPluginClasspathRelease",
  "kotlinCompilerPluginClasspathReleaseUnitTest",
  "kotlinKlibCommonizerClasspath",
  "kotlinNativeCompilerPluginClasspath",
  "lintChecks",
  "lintClassPath",
  "lintPublish",
  "releaseAnnotationProcessorClasspath",
  "releaseAnnotationProcessorClasspath",
  "releaseApiDependenciesMetadata",
  "releaseCompileClasspath",
  "releaseCompileOnly",
  "releaseCompileOnlyDependenciesMetadata",
  "releaseImplementationDependenciesMetadata",
  "releaseIntransitiveDependenciesMetadata",
  "releaseReverseMetadataValues",
  "releaseRuntimeClasspath",
  "releaseRuntimeOnlyDependenciesMetadata",
  "releaseWearBundling",
  "runtimeOnlyDependenciesMetadata",