Skip to content

Gradle support #10

Closed
Closed

Description

@graemerocher

Should detect build.gradle in addition to pom.xml

Activity

  1. gorkem commented on Sep 13, 2016

    @gorkem
    Contributor
  2. jacek99 commented on Sep 20, 2016

    @jacek99

    +1. Maven has been all but replaced by Gradle on any new projects that I know of. Without Gradle support, the plugin is not really usable :-/

  3. ivanz commented on Oct 10, 2016

    @ivanz

    In case it helps someone out there (note that I am new to Java) - I was able to workaround the lack of direct Gradle support by using the 'eclipse' gradle plugin to generate an Eclipse project:

    1. Add apply plugin: 'eclipse' to your gradle file
    2. Generate the classpath/project files on the console/terminal via gradlew eclipse

    Intellisense works after that.

    I've also tried to use the maven plugin, but the vscode-java plugin bombs out when loading the pom-default.xml (assuming it's even trying to load it)

  4. gorkem commented on Oct 11, 2016

    @gorkem
    Contributor

    My guess is pom-default.xml fails because we look for pom.xml files only. @fbricon can you confirm?

  5. fbricon commented on Oct 11, 2016

    @fbricon
    Collaborator

    yes, we only look at pom.xmls

  6. added this to the Late October 2016 milestone on Oct 13, 2016
  7. removed this from the Late October 2016 milestone on Oct 28, 2016
  8. tills13 commented on Oct 28, 2016

    @tills13

    This is a fairly important feature which is missing from this project - has any work been done twoards completing this?

  9. jacek99 commented on Oct 28, 2016

    @jacek99

    Just a note: latest Gradle is focusing on Kotlin support, so it would be good if that was supported

    https://blog.gradle.org/kotlin-scripting-update

  10. gorkem commented on Oct 28, 2016

    @gorkem
    Contributor

    @tills13 I believe @fbricon did have a look at using buildship last week.

  11. zhuarifp commented on Oct 31, 2016

    @zhuarifp

    +1 i also need gradle support for learning libGDX in vscode. i love VSCode because lightweight but powerfull and crossplatform. the bad thing is it is still new.

  12. scgm11 commented on Nov 1, 2016

    @scgm11

    +1 Gradle support

  13. 13 remaining items

  14. scgm11 commented on Nov 15, 2016

    @scgm11

    is not an open soure project but I can provide the build.gradle if you want to check uses of gradle maybe as a gist??

  15. fbricon commented on Nov 15, 2016

    @fbricon
    Collaborator

    you can just create a dummy project with that gradle file, throw in a couple of classes referencing some of the dependencies.
    I tried your fork of https://github.com/scgm11/asterisk-java, and it seems to work so far.

  16. scgm11 commented on Nov 15, 2016

    @scgm11

    ok, I'll do that in some minutes and let you know

  17. scgm11 commented on Nov 15, 2016

    @scgm11

    OK ready they are in my profile GradleTest1 generate a jar GradleTest2 generate a war and depends on the output build of GradleTest1, let me know if is ok or not.

    thanks!

  18. scgm11 commented on Nov 18, 2016

    @scgm11

    was that useful??

  19. added this to the Mid December 2016 milestone on Dec 9, 2016
  20. fbricon commented on Dec 22, 2016

    @fbricon
    Collaborator

    Basic Java Gradle seems to work now. However, we can't provide Android support for now, as BuildShip (that we depend on), doesn't support it.

    Closing.

  21. TheFanatr commented on Sep 16, 2017

    @TheFanatr

    Any updates?

  22. JulioJu commented on Dec 12, 2018

    @JulioJu
  23. safield commented on Feb 1, 2019

    @safield

    Please add Android Gradle support! That is a significatn chunk of the Java code out there.

  24. danielnmai commented on Mar 18, 2019

    @danielnmai

    It's pretty annoying to jump back and forth between VS Code and Android Studio for a React Native app on Android. My tasks require writing a lot of native modules in Java, and with the lack of Android dev support, I'm not sure this extension is worth it for my use case.

  25. MichelMelhem commented on Jul 4, 2019

    @MichelMelhem

    up

  26. adelphes commented on Jul 9, 2020

    @adelphes

    For those interested in Java support for Android, the latest version of the Android Extension now includes Java Intellisense based upon the Android SDK.
    Java language support is not as fully featured as the vscode-java extension, but I'd be happy to add more features as developers require - or you can help out with the project by submitting issues, suggestions or PRs.

  27. caodingpeng commented on Oct 27, 2020

    @caodingpeng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions