Announcement

Collapse
No announcement yet.

Maven support, and artifacts for the FTC library?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Maven support, and artifacts for the FTC library?

    Hi, will I be able to use Maven to manage dependencies and internal team libraries between robots and programs? I understand that Android Studio is being used, but some clarification as to whether the hardware or FTC libs will be available as Maven artifacts, or whether the IDE config will support Maven at all, would be good.

    Thanks!
    FTC6460 mentor (software+computer vision+electronics), FPGA enthusiast. In favor of allowing custom electronics on FTC bots.
    Co-founder of ##ftc live chat for FTC programming--currently you may need to join and wait some time for help--volunteer basis only.

  • #2
    Android Studio is really built around using the Gradle build system. I would recommend you just use that, though Android Studio does have Maven support.

    Comment


    • #3
      Originally posted by NoahAndrews View Post
      Android Studio is really built around using the Gradle build system. I would recommend you just use that, though Android Studio does have Maven support.
      Thanks! How easily are existing Maven artifacts transitioned to Gradle?
      FTC6460 mentor (software+computer vision+electronics), FPGA enthusiast. In favor of allowing custom electronics on FTC bots.
      Co-founder of ##ftc live chat for FTC programming--currently you may need to join and wait some time for help--volunteer basis only.

      Comment


      • #4
        I'm new to Gradle, and I don't have any Maven experience. However, I can tell you that including a library in the Maven Central repository in my Gradle-based Android Studio project was a piece of cake. I am, however, assuming that being on Maven Central implies that the library was in fact a Maven artifact. Here's a link to the library if you want to look at the instructions for including it: https://github.com/ksoichiro/Android...ableScrollView

        Comment


        • #5
          Originally posted by NoahAndrews View Post
          I'm new to Gradle, and I don't have any Maven experience. However, I can tell you that including a library in the Maven Central repository in my Gradle-based Android Studio project was a piece of cake. I am, however, assuming that being on Maven Central implies that the library was in fact a Maven artifact. Here's a link to the library if you want to look at the instructions for including it: https://github.com/ksoichiro/Android...ableScrollView
          It could be possible that Maven Central also converts them to Gradle artifacts on the server side, unlike other respositories (I've not seen Gradle mentioned on other Maven repo hosts). I will have to try it and see.
          FTC6460 mentor (software+computer vision+electronics), FPGA enthusiast. In favor of allowing custom electronics on FTC bots.
          Co-founder of ##ftc live chat for FTC programming--currently you may need to join and wait some time for help--volunteer basis only.

          Comment

          Working...
          X