@@ -36,56 +36,9 @@ tasks {
3636 dependsOn(downloadFirebaseZipFile)
3737 from(zipTree(downloadFirebaseZipFile.dest))
3838 into(" $buildDir " )
39- outputs.upToDateWhen { File (" $buildDir " ).exists() }
39+ outputs.upToDateWhen { ! Os .isFamily( Os . FAMILY_MAC ) || Os .isFamily( Os . FAMILY_MAC ) && File (" $buildDir " ).exists() }
4040 }
41-
42- val copyIOSFirebaseAuthFramework by creating(Copy ::class ){
43- doFirst {
44- project.delete(files(" $rootDir /firebase-auth/src/iosMain/c_interop/modules/" ))
45- }
46- dependsOn(unzipFirebase)
47- from(" $rootDir /$buildDir /Firebase/FirebaseAuth/FirebaseAuth.framework" )
48- into(" $rootDir /firebase-auth/src/iosMain/c_interop/modules/FirebaseAuth.framework" )
49- }
50-
51- val copyIOSFirebaseDatabaseFramework by creating(Copy ::class ){
52- doFirst {
53- project.delete(files(" $rootDir /firebase-database/src/iosMain/c_interop/modules/" ))
54- }
55- dependsOn(unzipFirebase)
56- from(" $rootDir /$buildDir /Firebase/FirebaseDatabase/FirebaseDatabase.framework" )
57- into(" $rootDir /firebase-database/src/iosMain/c_interop/modules/FirebaseDatabase.framework" )
58- }
59-
60- val copyIOSFirebaseFirestoreFramework by creating(Copy ::class ){
61- doFirst {
62- project.delete(files(" $rootDir /firebase-firestore/src/iosMain/c_interop/modules/" ))
63- }
64- dependsOn(unzipFirebase)
65- from(" $rootDir /$buildDir /Firebase/FirebaseFirestore/FirebaseFirestore.framework" )
66- into(" $rootDir /firebase-firestore/src/iosMain/c_interop/modules/FirebaseFirestore.framework" )
67- }
68-
69- val copyIOSFirebaseFunctionsFramework by creating(Copy ::class ){
70- doFirst {
71- project.delete(files(" $rootDir /firebase-functions/src/iosMain/c_interop/modules/" ))
72- }
73- dependsOn(unzipFirebase)
74- from(" $rootDir /$buildDir /Firebase/FirebaseFunctions/FirebaseFunctions.framework" )
75- into(" $rootDir /firebase-functions/src/iosMain/c_interop/modules/FirebaseFunctions.framework" )
76- }
77-
78- val copyIOSFirebaseAppFramework by creating(Copy ::class ){
79-
80- doFirst {
81- project.delete(files(" $rootDir /firebase-app/src/iosMain/c_interop/modules/" ))
82- }
83-
84- dependsOn(unzipFirebase)
85- from(" $rootDir /$buildDir /Firebase/FirebaseAnalytics/FirebaseCore.framework" )
86- into(" $rootDir /firebase-app/src/iosMain/c_interop/modules/FirebaseCore.framework" )
87- }
88-
41+
8942}
9043
9144subprojects {
0 commit comments