Skip to content

Whiteboard Talks

Random tech issues we face

  • Java
  • Linux
  • Privacy Policy
  • Contact Us

Gradle download sources and javadoc in eclipse or Intellij or Idea

April 4, 2020 by Santosh

For different workspace sources and javadoc from maven repo can be download as follows:

Eclipse

apply plugin: 'java'
apply plugin: 'eclipse'

eclipse {
    classpath {
        downloadJavadoc = true
        downloadSources = true
    }
}

For IntelliJ & Android Studio

apply plugin: 'java'
apply plugin: 'idea'

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

To apply and run plugins:

gradle cleanEclipse eclipse
gradle cleanIdea idea

References

  • https://docs.gradle.org/current/dsl/org.gradle.plugins.ide.eclipse.model.EclipseClasspath.html
  • https://docs.gradle.org/current/dsl/org.gradle.plugins.ide.idea.model.IdeaModule.html

Post navigation

Previous Post:

Finding Ulimit of Process and a User

Next Post:

Kafka Interview Questions

Recent Posts

  • How to Increase Replication Factor for a Kafka topic
  • How to reload .bash_profile from the command line
  • Inheritance hierarchies in Jackson
  • Kafka Interview Questions
  • Gradle download sources and javadoc in eclipse or Intellij or Idea

Recent Comments

  • Kafka Interview Questions to expect during kafka interview on How to Increase Replication Factor for a Kafka topic

Archives

  • April 2020
  • March 2020
  • April 2019
  • March 2019
  • August 2018
  • July 2018
  • June 2018

Categories

  • Eclipse
  • Git-rm
  • Gradle
  • Intelij
  • jackson
  • Java
  • Java Exceptions
  • JSON
  • Kafka
  • Linux
  • MAven
  • Replication Factor Kafka
  • Threads
  • Uncategorized
  • Versioning
  • Wordpress
  • Zookeeper

Meta

  • Register
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
© 2022 Whiteboard Talks - Powered by Cleanews