Gradle IDEA Plugin: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
 
(2 intermediate revisions by the same user not shown)
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>
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