Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## NEXT

- FIX(android): disable Kotlin incremental compilation for the Android implementation so Windows builds do not fail when the app project and Pub cache are on different drives (#163).

## 1.0.7

- FIX: export `MidiPairingInfoRemovedException` from `package:flutter_midi_command/flutter_midi_command.dart`.
Expand Down
4 changes: 4 additions & 0 deletions packages/flutter_midi_command_android/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## NEXT

- FIX(android): disable Kotlin incremental compilation for the Android plugin on Windows hosts to avoid Kotlin cache failures when the app project and Pub cache are on different drives (#163).

## 1.0.7

- Bump "flutter_midi_command_android" to `1.0.7` and update the platform interface dependency constraint.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Work around Kotlin/Gradle incremental cache path failures when this plugin is
# built from a Pub cache on a different Windows drive than the app project.
kotlin.incremental=false
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ class _FakePlatform extends UniversalBlePlatform {
String deviceId, {
Duration? connectionTimeout,
bool autoConnect = false,
ConnectionPlatformConfig? platformConfig,
}) async {
updateConnection(deviceId, true);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ class _FakeUniversalBlePlatform extends UniversalBlePlatform {
String deviceId, {
Duration? connectionTimeout,
bool autoConnect = false,
ConnectionPlatformConfig? platformConfig,
}) async {
connectCalls.add(deviceId);
await Future<void>.delayed(const Duration(milliseconds: 1));
Expand Down