Ricardo Mayerhofer
2014-05-12 19:53:00 UTC
Hi all,
Is there a way to add a given plugin to gradle default classpath? Currently
my aproach consists of copying the plugin jar to a folder and reference that
folder in the build script.
e.g.
apply plugin: DeployPlugin
buildscript {
dependencies {
classpath fileTree(dir: 'lib', include: '*.jar')
}
}
I'm looking for a aproach where there is no need to reference the jar in the
build script. I've tried to copy it to GRADLE_HOME/lib or
GRADLE_HOME/lib/plugins, but it didn't work :(
Thx.
--
View this message in context: http://gradle.1045684.n5.nabble.com/Adding-plugin-to-gradle-classpath-tp5712659.html
Sent from the gradle-user mailing list archive at Nabble.com.
Is there a way to add a given plugin to gradle default classpath? Currently
my aproach consists of copying the plugin jar to a folder and reference that
folder in the build script.
e.g.
apply plugin: DeployPlugin
buildscript {
dependencies {
classpath fileTree(dir: 'lib', include: '*.jar')
}
}
I'm looking for a aproach where there is no need to reference the jar in the
build script. I've tried to copy it to GRADLE_HOME/lib or
GRADLE_HOME/lib/plugins, but it didn't work :(
Thx.
--
View this message in context: http://gradle.1045684.n5.nabble.com/Adding-plugin-to-gradle-classpath-tp5712659.html
Sent from the gradle-user mailing list archive at Nabble.com.