@@ -23,44 +23,44 @@ val minSdkVersion by extra(14)
23
23
24
24
25
25
tasks {
26
- val downloadZipFile by creating(Download ::class ) {
26
+ val downloadFirebaseZipFile by creating(Download ::class ) {
27
27
src(" https://github.com/firebase/firebase-ios-sdk/releases/download/6.17.0/Firebase-6.17.0.zip" )
28
28
dest(File (rootDir, " Firebase-6.17.0.zip" ))
29
29
overwrite(true )
30
30
}
31
31
32
32
val unzipFirebase by creating(Copy ::class ) {
33
- dependsOn(downloadZipFile )
34
- from(zipTree(downloadZipFile .dest))
33
+ dependsOn(downloadFirebaseZipFile )
34
+ from(zipTree(downloadFirebaseZipFile .dest))
35
35
into(rootDir)
36
36
}
37
37
38
- val copyFirebaseAuth by creating(Copy ::class ){
38
+ val copyIOSFirebaseAuth by creating(Copy ::class ){
39
39
dependsOn(unzipFirebase)
40
40
from(" $rootDir /Firebase/FirebaseAuth/FirebaseAuth.framework" )
41
41
into(" $rootDir /firebase-auth/src/iosMain/c_interop/modules/FirebaseAuth.framework" )
42
42
}
43
43
44
- val copyFirebaseDatabase by creating(Copy ::class ){
45
- dependsOn(copyFirebaseAuth )
44
+ val copyIOSFirebaseDatabase by creating(Copy ::class ){
45
+ dependsOn(copyIOSFirebaseAuth )
46
46
from(" $rootDir /Firebase/FirebaseDatabase/FirebaseDatabase.framework" )
47
47
into(" $rootDir /firebase-database/src/iosMain/c_interop/modules/FirebaseDatabase.framework" )
48
48
}
49
49
50
- val copyFirebaseFirestore by creating(Copy ::class ){
51
- dependsOn(copyFirebaseDatabase )
50
+ val copyIOSFirebaseFirestore by creating(Copy ::class ){
51
+ dependsOn(copyIOSFirebaseDatabase )
52
52
from(" $rootDir /Firebase/FirebaseFirestore/FirebaseFirestore.framework" )
53
53
into(" $rootDir /firebase-database/src/iosMain/c_interop/modules/FirebaseFirestore.framework" )
54
54
}
55
55
56
- val copyFirebaseFunctions by creating(Copy ::class ){
57
- dependsOn(copyFirebaseFirestore )
56
+ val copyIOSFirebaseFunctions by creating(Copy ::class ){
57
+ dependsOn(copyIOSFirebaseFirestore )
58
58
from(" $rootDir /Firebase/FirebaseFunctions/FirebaseFunctions.framework" )
59
59
into(" $rootDir /firebase-database/src/iosMain/c_interop/modules/FirebaseFunctions.framework" )
60
60
}
61
61
62
- val copyAllFirebaseFrameworks by creating(Copy ::class ){
63
- dependsOn(copyFirebaseFunctions )
62
+ val copyAllIOSFirebaseFrameworks by creating(Copy ::class ){
63
+ dependsOn(copyIOSFirebaseFunctions )
64
64
from(" $rootDir /Firebase/FirebaseAnalytics/FirebaseCore.framework" )
65
65
into(" $rootDir /firebase-app/src/iosMain/c_interop/modules/FirebaseCore.framework" )
66
66
}
@@ -125,7 +125,7 @@ subprojects {
125
125
126
126
if (! File (rootDir, " Firebase" ).exists()) {
127
127
dependsOn(
128
- rootProject.tasks.named(" copyAllFirebaseFrameworks " ).get(),
128
+ rootProject.tasks.named(" copyAllIOSFirebaseFrameworks " ).get(),
129
129
copyPackageJson,
130
130
copyJS,
131
131
copySourceMap,
0 commit comments