Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for play-json 3.x #94

Open
matmannion opened this issue Nov 8, 2023 · 0 comments
Open

Support for play-json 3.x #94

matmannion opened this issue Nov 8, 2023 · 0 comments

Comments

@matmannion
Copy link

The play-json team changed the groupId for the dependency from org.typesafe.play to org.playframework for 3.x and later (https://github.com/playframework/play-json/releases/tag/3.0.0).

As a workaround, it still uses the same package names so this library can be used by including the dependency directly and adding an exclusion rule, e.g.

libraryDependencies ++= Seq(
  "org.playframework" %% "play-json" % "3.0.1",
  "ai.x" %% "play-json-extensions" % "0.42.0"
)

excludeDependencies ++= Seq(
  // As of Play 3.0, groupId has changed to org.playframework; exclude transitive dependencies to the old artifacts
  ExclusionRule(organization = "com.typesafe.play")
)

It may be worth marking the dependency as Optional in the library, to avoid pulling in incompatible play-json dependencies as various libraries update to support 3.x

ioannakok added a commit to guardian/frontend that referenced this issue Dec 12, 2023
…nsion`

`ai.x:play-json-extension:0.42.0` has not been updated yet to use the new `org.playframework` groupId. Tried to use the workaround suggested here bizzabo/play-json-extensions#94 but was unsuccessful.
ioannakok added a commit to guardian/frontend that referenced this issue Jan 30, 2024
…nsion`

`ai.x:play-json-extension:0.42.0` has not been updated yet to use the new `org.playframework` groupId. Tried to use the workaround suggested here bizzabo/play-json-extensions#94 but was unsuccessful.
mchv pushed a commit to guardian/frontend that referenced this issue Mar 18, 2024
…nsion`

`ai.x:play-json-extension:0.42.0` has not been updated yet to use the new `org.playframework` groupId. Tried to use the workaround suggested here bizzabo/play-json-extensions#94 but was unsuccessful.
ioannakok added a commit to guardian/frontend that referenced this issue Mar 20, 2024
…nsion`

`ai.x:play-json-extension:0.42.0` has not been updated yet to use the new `org.playframework` groupId. Tried to use the workaround suggested here bizzabo/play-json-extensions#94 but was unsuccessful.
ioannakok added a commit to guardian/frontend that referenced this issue Mar 20, 2024
…nsion`

`ai.x:play-json-extension:0.42.0` has not been updated yet to use the new `org.playframework` groupId. Tried to use the workaround suggested here bizzabo/play-json-extensions#94 but was unsuccessful.
ioannakok added a commit to guardian/frontend that referenced this issue Apr 9, 2024
…nsion`

`ai.x:play-json-extension:0.42.0` has not been updated yet to use the new `org.playframework` groupId. Tried to use the workaround suggested here bizzabo/play-json-extensions#94 but was unsuccessful.
ioannakok added a commit to guardian/frontend that referenced this issue Apr 10, 2024
…nsion`

`ai.x:play-json-extension:0.42.0` has not been updated yet to use the new `org.playframework` groupId. Tried to use the workaround suggested here bizzabo/play-json-extensions#94 but was unsuccessful.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant