Skip to content

Commit

Permalink
Use gradle version catalogs for dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
marcprux committed Feb 5, 2024
1 parent a77bd52 commit edcb4c6
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
## 0.1.0

Released 2024-02-05

- Work-around test failures with multiple FirebaseApp instances

## 0.0.3

Released 2024-01-09
Expand Down
6 changes: 3 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ let package = Package(
.library(name: "SkipFirebaseStorage", targets: ["SkipFirebaseStorage"]),
],
dependencies: [
.package(url: "https://source.skip.tools/skip.git", from: "0.7.42"),
.package(url: "https://source.skip.tools/skip-foundation.git", from: "0.4.0"),
.package(url: "https://source.skip.tools/skip-model.git", from: "0.4.0"),
.package(url: "https://source.skip.tools/skip.git", from: "0.8.0"),
.package(url: "https://source.skip.tools/skip-foundation.git", from: "0.5.0"),
.package(url: "https://source.skip.tools/skip-model.git", from: "0.5.0"),
.package(url: "https://github.com/firebase/firebase-ios-sdk.git", from: "10.17.0")
],
targets: [
Expand Down
13 changes: 12 additions & 1 deletion Sources/SkipFirebaseCore/Skip/skip.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,21 @@
# Configuration file for https://skip.tools project
#
# Kotlin dependencies and Gradle build options for this module can be configured here
settings:
contents:
- block: 'dependencyResolutionManagement'
contents:
- block: 'versionCatalogs'
contents:
- block: 'create("libs")'
contents:
- 'version("firebase", "32.7.1")'
- 'library("firebase-bom", "com.google.firebase", "firebase-bom").versionRef("firebase")'

build:
contents:
- block: 'dependencies'
contents:
- 'implementation(platform("com.google.firebase:firebase-bom:32.7.0"))'
- 'implementation(platform(libs.firebase.bom))'
- 'implementation("com.google.firebase:firebase-installations")'
- 'implementation("org.jetbrains.kotlinx:kotlinx-coroutines-play-services")'

0 comments on commit edcb4c6

Please sign in to comment.