Skip to content

Commit 4594491

Browse files
committed
build: Depend on the published forge2d 0.15.1
The length unit support in flame-engine/forge2d#120 was released as 0.15.1, so the git dependency override is no longer needed.
1 parent 5c5e007 commit 4594491

3 files changed

Lines changed: 2 additions & 13 deletions

File tree

packages/flame_forge2d/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Some more documentation can be found
5050

5151
## Migrating from 0.19
5252

53-
Version 0.20 is built on Forge2D 0.16, which replaced the pure Dart port of Box2D 2.x with
53+
Version 0.20 is built on Forge2D 0.15, which replaced the pure Dart port of Box2D 2.x with
5454
bindings for Box2D v3, so the whole API changed. See the [flame_forge2d migration
5555
guide](https://docs.flame-engine.org/main/bridge_packages/flame_forge2d/migration.html) and the
5656
[Forge2D migration

packages/flame_forge2d/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies:
2020
flame: ^1.38.0
2121
flutter:
2222
sdk: flutter
23-
forge2d: ^0.16.0
23+
forge2d: ^0.15.1
2424

2525
dev_dependencies:
2626
dartdoc: ^9.0.0

pubspec.yaml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -125,14 +125,3 @@ melos:
125125
packageFilters:
126126
scope: flame_devtools
127127
description: Runs the devtools in the simulated mode.
128-
129-
# TODO(spydon): Remove once forge2d 0.16.0 is published.
130-
# flame_forge2d needs `initializeForge2D(lengthUnitsPerMeter:)` and
131-
# `Tolerances`, which are in flame-engine/forge2d#120 and not in the published
132-
# 0.15.0.
133-
dependency_overrides:
134-
forge2d:
135-
git:
136-
url: https://github.com/flame-engine/forge2d.git
137-
ref: feat/length-units-per-meter
138-
path: packages/forge2d

0 commit comments

Comments
 (0)