Gradle IDEA Plugin: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:


=Overview=
=Overview=
<syntaxhighlight lang='groovy'>
apply plugin: 'idea'
</syntaxhighlight>
=Downloading Sources and Javadoc=
Apparently we need the help of the IDEA plugin to download sources and javadoc artifacts:
<syntaxhighlight lang='groovy'>
idea {
    module {
        downloadJavadoc = true
        downloadSources = true
    }
}
</syntaxhighlight>

Revision as of 05:22, 1 November 2018

Internal

Overview

apply plugin: 'idea'

Downloading Sources and Javadoc

Apparently we need the help of the IDEA plugin to download sources and javadoc artifacts:

idea {
    module {
        downloadJavadoc = true
        downloadSources = true
    }
}