Skip to content

Commit e67543e

Browse files
committed
Rename tasks to be IOS specific
1 parent 4ba742d commit e67543e

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

build.gradle.kts

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -23,44 +23,44 @@ val minSdkVersion by extra(14)
2323

2424

2525
tasks {
26-
val downloadZipFile by creating(Download::class) {
26+
val downloadFirebaseZipFile by creating(Download::class) {
2727
src("https://github.com/firebase/firebase-ios-sdk/releases/download/6.17.0/Firebase-6.17.0.zip")
2828
dest(File(rootDir, "Firebase-6.17.0.zip"))
2929
overwrite(true)
3030
}
3131

3232
val unzipFirebase by creating(Copy::class) {
33-
dependsOn(downloadZipFile)
34-
from(zipTree(downloadZipFile.dest))
33+
dependsOn(downloadFirebaseZipFile)
34+
from(zipTree(downloadFirebaseZipFile.dest))
3535
into(rootDir)
3636
}
3737

38-
val copyFirebaseAuth by creating(Copy::class){
38+
val copyIOSFirebaseAuth by creating(Copy::class){
3939
dependsOn(unzipFirebase)
4040
from("$rootDir/Firebase/FirebaseAuth/FirebaseAuth.framework")
4141
into("$rootDir/firebase-auth/src/iosMain/c_interop/modules/FirebaseAuth.framework")
4242
}
4343

44-
val copyFirebaseDatabase by creating(Copy::class){
45-
dependsOn(copyFirebaseAuth)
44+
val copyIOSFirebaseDatabase by creating(Copy::class){
45+
dependsOn(copyIOSFirebaseAuth)
4646
from("$rootDir/Firebase/FirebaseDatabase/FirebaseDatabase.framework")
4747
into("$rootDir/firebase-database/src/iosMain/c_interop/modules/FirebaseDatabase.framework")
4848
}
4949

50-
val copyFirebaseFirestore by creating(Copy::class){
51-
dependsOn(copyFirebaseDatabase)
50+
val copyIOSFirebaseFirestore by creating(Copy::class){
51+
dependsOn(copyIOSFirebaseDatabase)
5252
from("$rootDir/Firebase/FirebaseFirestore/FirebaseFirestore.framework")
5353
into("$rootDir/firebase-database/src/iosMain/c_interop/modules/FirebaseFirestore.framework")
5454
}
5555

56-
val copyFirebaseFunctions by creating(Copy::class){
57-
dependsOn(copyFirebaseFirestore)
56+
val copyIOSFirebaseFunctions by creating(Copy::class){
57+
dependsOn(copyIOSFirebaseFirestore)
5858
from("$rootDir/Firebase/FirebaseFunctions/FirebaseFunctions.framework")
5959
into("$rootDir/firebase-database/src/iosMain/c_interop/modules/FirebaseFunctions.framework")
6060
}
6161

62-
val copyAllFirebaseFrameworks by creating(Copy::class){
63-
dependsOn(copyFirebaseFunctions)
62+
val copyAllIOSFirebaseFrameworks by creating(Copy::class){
63+
dependsOn(copyIOSFirebaseFunctions)
6464
from("$rootDir/Firebase/FirebaseAnalytics/FirebaseCore.framework")
6565
into("$rootDir/firebase-app/src/iosMain/c_interop/modules/FirebaseCore.framework")
6666
}
@@ -125,7 +125,7 @@ subprojects {
125125

126126
if(!File(rootDir, "Firebase").exists()) {
127127
dependsOn(
128-
rootProject.tasks.named("copyAllFirebaseFrameworks").get(),
128+
rootProject.tasks.named("copyAllIOSFirebaseFrameworks").get(),
129129
copyPackageJson,
130130
copyJS,
131131
copySourceMap,

0 commit comments

Comments
 (0)