Announcement

Collapse

Technology Forum Has Moved!

The FIRST Tech Challenge Technology forum has moved to a new location! Please take a look at our forum blog for links and instructions on how to access the new forum.

The official blog of the FIRST Tech Challenge - a STEM robotics programs for students grades 7-12.


Note that volunteers (except for FTA/WTA/CSA will still access their role specific forum through this site. The blog also outlines how to access the volunteer forums.
See more
See less

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