Hi all.
Im trying to hide the dependency-stuff from the user when sharing a custom
plugin. Im using v0.9.2
So, I have a config.gradle-file containing the dependencies:
buildscript {
repositories {
mavenCentral()
flatDir(dirs: file('libs'))
}
dependencies {
classpath 'com.enonic.ert:ert-gradle-plugin:1.0'
}
}
..other stuff..
Then, in the build.gradle I try to use the "apply from" statement, and use the
plugin:
apply from: 'config.gradle'
apply plugin: 'ert'
But I get an error that the 'ert' plugin is not found.
It works fine if I inline the buildscript block in the build.gradle.
Is this expected behaviour? I really would like the users to be able to use the
plugin just by using the "apply from" and maybe the "apply plugin".
--
Regards,
Runar Myklebust
Senior Utvikler
Mobil - 977 73 223
www.enonic.com/ex - Enonic Xperience 2011 - register today !
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email