Gradle IDEA Plugin: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * IntelliJ Gradle Support")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 2: Line 2:


* [[IntelliJ_Gradle_Support#IDEA_Plugin|IntelliJ Gradle Support]]
* [[IntelliJ_Gradle_Support#IDEA_Plugin|IntelliJ Gradle Support]]
* [[Gradle_Plugins#Plugin_List|Plugin List]]
=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>
Also see: {{Internal|Gradle_Dependencies_and_Dependency_Configurations#Forcing_Source_and_Javadoc_Download|Forcing Source and Javadoc Download}}

Latest revision as of 16:45, 29 January 2019

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
    }
}

Also see:

Forcing Source and Javadoc Download