Is there any way other than adding the plugin jar in class path of build script while calling the custom plugins in build.gradle file…
Right now my build.gradle file is like below buildscript {
repositories {
maven {
url ‘repo’
}
}
dependencies {
classpath group: ‘org.gradle’, name: ‘customPlugin’, version: ‘1.0-SNAPSHOT’
} }
apply plugin: ‘greeting’
I dont want to include this classpath on all my build files. i want to just say ‘apply plugin: ‘greeting’’ like java plugin.
Thank you
Kiran