Skip to content

Commit 61a5794

Browse files
committed
Fixes [bug]: FlutterFire CLI is not able to handle projects that use Kotlin DSL for Gradle invertase#305
1 parent 1282782 commit 61a5794

File tree

3 files changed

+494
-0
lines changed

3 files changed

+494
-0
lines changed

packages/flutterfire_cli/lib/src/common/utils.dart

+4
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,10 @@ String androidAppBuildGradlePathForAppDirectory(Directory directory) {
221221
return joinAll([directory.path, 'android', 'app', 'build.gradle']);
222222
}
223223

224+
String androidAppBuildGradleKtsPathForAppDirectory(Directory directory) {
225+
return joinAll([directory.path, 'android', 'app', 'build.gradle.kts']);
226+
}
227+
224228
File xcodeProjectFileInDirectory(Directory directory, String platform) {
225229
return File(
226230
joinAll(

0 commit comments

Comments
 (0)