Gradle IDEA Plugin: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 16: Line 16:
<syntaxhighlight lang='groovy'>
<syntaxhighlight lang='groovy'>
idea {
idea {
     module {
     module {
         downloadJavadoc = true
         downloadJavadoc = true
         downloadSources = true
         downloadSources = true
Line 22: Line 24:
}
}
</syntaxhighlight>
</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