Skip to content

Commit

Permalink
Update setup.dart
Browse files Browse the repository at this point in the history
Fix path issue that happens only on Windows
  • Loading branch information
jwill committed Feb 4, 2025
1 parent 0f7cae2 commit 4155f43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/jni/bin/setup.dart
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ void main(List<String> arguments) async {
} else {
verboseLog('Running gradle task for building jni sources to $buildPath.');
await runCommand(
gradleWExecutable.path, ['jar'], await findSources('jni', 'java'));
gradleWExecutable.toFilePath(windows: Platform.isWindows), ['jar'], await findSources('jni', 'java'));
}

for (var srcPath in sources) {
Expand Down

0 comments on commit 4155f43

Please sign in to comment.