Hi, I am a bit confused about the differences bet...
# gradle
j
Hi, I am a bit confused about the differences between plugins and apply? I am under the impression that plugins are for plugin registration and apply is for plugin activation. The confusion is better expressed in the following submodule config:
Copy code
plugins {
    application
}

apply {
    plugin("kotlin")
}

application {
    mainClassName = "ro.jtonic.handson.poi.TestKt"
}

dependencies {
    compile(project(":dsl"))
}
Questions: 1. Are some plugins registered default so as one has to only apply plugin? 2. Does some plugins registration lead to their activation by default? 3. Are there some plugins for which the registration and activation is not required? Note: All the above questions could make no sense in case I completely misunderstood the concept of gradle plugin Antonel