Skip to content

Commit

Permalink
Fixes [bug]: FlutterFire CLI is not able to handle projects that use …
Browse files Browse the repository at this point in the history
…Kotlin DSL for Gradle #305
  • Loading branch information
namangor04 committed Jun 1, 2024
1 parent 1282782 commit 61a5794
Show file tree
Hide file tree
Showing 3 changed files with 494 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/flutterfire_cli/lib/src/common/utils.dart
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ String androidAppBuildGradlePathForAppDirectory(Directory directory) {
return joinAll([directory.path, 'android', 'app', 'build.gradle']);
}

String androidAppBuildGradleKtsPathForAppDirectory(Directory directory) {
return joinAll([directory.path, 'android', 'app', 'build.gradle.kts']);
}

File xcodeProjectFileInDirectory(Directory directory, String platform) {
return File(
joinAll(
Expand Down
Loading

0 comments on commit 61a5794

Please sign in to comment.