hi robert,

*1* = plugin-build

my build.gradle for the plugin-build:

(you may have to adjust the dependencys if
you use another version of gradle)


usePlugin('groovy')

sourceCompatibility = 1.5
targetCompatibility = 1.5
group = 'com.myCompany.gradle'
version = 'x.y'
manifest.mainAttributes(provider: 'myCompany')

repositories {
    flatDir(dirs: file('lib'))
}

dependencies {
    groovy(':groovy-all:1.6.4')
    
    compile(':slf4j-api:1.5.8')
    compile(':gradle-core:0.9-SNAPSHOT')
    compile(':ivy:2.1.0-rc2')
    
    testCompile(':logback-classic:0.9.17')
    testCompile(':logback-core:0.9.17')
    testCompile(':junit:4.7')
}


*2* = plugin.properties

in $GRADLE_HOME/plugin.properties i add the line:


custom-plugin=com.mycompany.gradle.MyCustomPlugin


there should be a note about plugin.properties in the
reference-guide.

gruesse


Robert Fischer wrote:
> 
> Do you have some documentation on that?  Like where the 
> plugins.properties file is or what line you add to it?  Or what the JAR 
> consists of?
> 

-- 
View this message in context: 
http://old.nabble.com/-ANN--GitHub%3A-RobertFischer-gradle-plugins-tp26453518p26460919.html
Sent from the gradle-user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to