GithubHelp home page GithubHelp logo

Comments (9)

daddykotex avatar daddykotex commented on August 17, 2024

From the snippet you share it seems like your working with Scala, so: val alloyOpenApi = "com.disneystreaming.alloy" %% "alloy-openapi" % AppVersions.alloy should work.

from alloy.

daddykotex avatar daddykotex commented on August 17, 2024

But that essentially mean that the README is invalid: https://github.com/disneystreaming/alloy#using-alloy

from alloy.

daddykotex avatar daddykotex commented on August 17, 2024

Were you able to pull the dependency?

from alloy.

wvandermerwe avatar wvandermerwe commented on August 17, 2024

Hi @daddykotex still seeing the same issue after adding the second "%" using 0.1.4 as the value for AppVersions.alloy. However don't have any issues when only pulling the alloy core dependency.

from alloy.

Baccata avatar Baccata commented on August 17, 2024

@scala-impala what version of the language are you using ?

from alloy.

wvandermerwe avatar wvandermerwe commented on August 17, 2024

@Baccata this is with Scala 3.2.0

from alloy.

Baccata avatar Baccata commented on August 17, 2024

@scala-impala right, it'd have been good to start there 😄 . And may I ask your use-case ? This module is typically used at build-time with build-tools. Cross compiling between 2.12 and 2.13 lets us support both SBT and mill. We're not necessarily adversed to cross-compiling to more targets, but we'd like for an explanation of the need before we do.

from alloy.

wvandermerwe avatar wvandermerwe commented on August 17, 2024

@Baccata I see, thanks, that makes sense now. I don't know a lot about build tools and SBT and as long as it works I don't touch it and don't try to ask too many questions, but will try do so some more effort before opening useless issues :) In any case, I evetually managed to add it like this:
val alloyOpenApi = ("com.disneystreaming.alloy" % "alloy-openapi" % AppVersions.alloy cross CrossVersion.for3Use2_13) .exclude("org.typelevel", "cats-core_2.13") .exclude("org.typelevel", "cats-kernel_2.13") .exclude("org.scala-lang.modules", "scala-collection-compat_2.13")

from alloy.

kubukoz avatar kubukoz commented on August 17, 2024

The issue wasn't useless, I think we should just talk it out to understand why you find yourself stuck with it in the first place :)

The workaround with exclude may work now, but it's not something I'd recommend long term. Echoing @Baccata's comment, could you share more about your usecase? I feel like you shouldn't need this at runtime.

from alloy.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.