Skip to content

Commit c3625d1

Browse files
devNamanGnamangor04russellwheatley
authored
feat: support for Gradle Kotlin DSL (Kotlin DSL comes as standard in newly created Flutter projects) (#306)
Co-authored-by: Naman Gor <[email protected]> Co-authored-by: Russell Wheatley <[email protected]>
1 parent e990364 commit c3625d1

File tree

4 files changed

+510
-14
lines changed

4 files changed

+510
-14
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)