Uploaded image for project: 'Samza'
  1. Samza
  2. SAMZA-34

Cross build all Scala versions in a single build

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.6.0
    • None
    • build
    • None

    Description

      Our gradle build script only supports building artifacts with one Scala version at a time. You can run:

      ./gradlew -PscalaVersion=2.8.1 clean publishToMavenLocal
      

      or

      ./gradlew -PscalaVersion=2.9.2 clean publishToMavenLocal
      

      But you can't run a single build command that generates both 2.8.1, and 2.9.2 versions (for example). This is what SBT does. I think we'll need this in order to publish artifacts to Maven, since I believe Maven require all artifacts to be published in a single build.

      We should test this. If we can publish to Maven without this change, this is a pretty low priority item. If we can't publish to Maven unless we make this change, it's relatively high priority.

      Attachments

        1. multi-scala.zip
          4 kB
          Chris Riccomini

        Issue Links

          Activity

            People

              Unassigned Unassigned
              criccomini Chris Riccomini
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: