-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Working through Crashlytics missing links
- Loading branch information
1 parent
dc5c94f
commit 798278f
Showing
6 changed files
with
88 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...hlytics-ios-link/src/main/kotlin/co/touchlab/crashkios/CrashlyticsFrameworkValueSource.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package co.touchlab.crashkios | ||
|
||
import org.gradle.api.provider.ValueSource | ||
import org.gradle.api.provider.ValueSourceParameters | ||
import org.gradle.process.ExecOperations | ||
import java.io.File | ||
import javax.inject.Inject | ||
|
||
abstract class CrashlyticsFrameworkValueSource : ValueSource<File, ValueSourceParameters.None> { | ||
@get:Inject | ||
abstract val execOperations: ExecOperations | ||
|
||
override fun obtain(): File { | ||
val frameworkFile = findFrameworkBinaryFolder( | ||
execOperations = execOperations, | ||
zipUrl = "https://github.com/firebase/firebase-ios-sdk/releases/download/10.22.0/Firebase.zip", | ||
frameworkName = "FirebaseCrashlytics", | ||
zipRelativeFrameworkPath = "Firebase/FirebaseCrashlytics/FirebaseCrashlytics.xcframework" | ||
) | ||
|
||
return frameworkFile | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters