Skip to content

Commit

Permalink
Merge pull request #589 from siarhei-luskanau/deps_update
Browse files Browse the repository at this point in the history
Bumped dependencies and Gradle wrapper
  • Loading branch information
nbransby authored Aug 27, 2024
2 parents a331c4c + b5b5e73 commit 0b0cee3
Show file tree
Hide file tree
Showing 18 changed files with 160 additions and 126 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: run apiCheck
run: ./gradlew apiCheck
jobMatrixSetup:
runs-on: macos-latest
runs-on: ubuntu-latest
outputs:
emulator_jobs_matrix: ${{ steps.dataStep.outputs.emulator_jobs_matrix }}
ios_test_jobs_matrix: ${{ steps.dataStep.outputs.ios_test_jobs_matrix }}
Expand Down
2 changes: 1 addition & 1 deletion firebase-analytics/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ kotlin {
iosX64()
iosSimulatorArm64()
cocoapods {
ios.deploymentTarget = "12.0"
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
framework {
baseName = "FirebaseAnalytics"
}
Expand Down
3 changes: 2 additions & 1 deletion firebase-app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,14 @@ kotlin {
iosSimulatorArm64()

cocoapods {
ios.deploymentTarget = "12.0"
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
framework {
baseName = "FirebaseApp"
}
noPodspec()
pod("FirebaseCore") {
version = libs.versions.firebase.cocoapods.get()
extraOpts += listOf("-compiler-option", "-fmodules")
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion firebase-auth/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,14 @@ kotlin {
iosX64().enableKeychainForTests()
iosSimulatorArm64().enableKeychainForTests()
cocoapods {
ios.deploymentTarget = "12.0"
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
framework {
baseName = "FirebaseAuth"
}
noPodspec()
pod("FirebaseAuth") {
version = libs.versions.firebase.cocoapods.get()
extraOpts += listOf("-compiler-option", "-fmodules")
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion firebase-config/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,14 @@ kotlin {
iosX64()
iosSimulatorArm64()
cocoapods {
ios.deploymentTarget = "12.0"
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
framework {
baseName = "FirebaseConfig"
}
noPodspec()
pod("FirebaseRemoteConfig") {
version = libs.versions.firebase.cocoapods.get()
extraOpts += listOf("-compiler-option", "-fmodules")
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion firebase-crashlytics/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ kotlin {
iosX64()
iosSimulatorArm64()
cocoapods {
ios.deploymentTarget = "12.0"
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
framework {
baseName = "FirebaseCrashlytics"
}
Expand Down
3 changes: 2 additions & 1 deletion firebase-database/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,14 @@ kotlin {
iosX64()
iosSimulatorArm64()
cocoapods {
ios.deploymentTarget = "12.0"
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
framework {
baseName = "FirebaseDatabase"
}
noPodspec()
pod("FirebaseDatabase") {
version = libs.versions.firebase.cocoapods.get()
extraOpts += listOf("-compiler-option", "-fmodules")
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion firebase-firestore/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ kotlin {
iosX64()
iosSimulatorArm64()
cocoapods {
ios.deploymentTarget = "12.0"
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
framework {
baseName = "FirebaseFirestore"
}
Expand All @@ -92,6 +92,7 @@ kotlin {
// Adding it manually seems to resolve the issue
pod("FirebaseFirestoreInternal") {
version = libs.versions.firebase.cocoapods.get()
extraOpts += listOf("-compiler-option", "-fmodules")
}
pod("FirebaseFirestore") {
version = libs.versions.firebase.cocoapods.get()
Expand Down
2 changes: 1 addition & 1 deletion firebase-functions/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ kotlin {
iosX64()
iosSimulatorArm64()
cocoapods {
ios.deploymentTarget = "12.0"
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
framework {
baseName = "FirebaseFunctions"
}
Expand Down
3 changes: 2 additions & 1 deletion firebase-installations/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,14 @@ kotlin {
iosX64()
iosSimulatorArm64()
cocoapods {
ios.deploymentTarget = "12.0"
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
framework {
baseName = "FirebaseInstallations"
}
noPodspec()
pod("FirebaseInstallations") {
version = libs.versions.firebase.cocoapods.get()
extraOpts += listOf("-compiler-option", "-fmodules")
}
}
}
Expand Down
5 changes: 3 additions & 2 deletions firebase-messaging/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,13 +80,14 @@ kotlin {
iosX64()
iosSimulatorArm64()
cocoapods {
ios.deploymentTarget = "12.0"
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
framework {
baseName = "FirebaseMessaging"
}
noPodspec()
pod("FirebaseMessaging") {
version = "10.25.0"
version = libs.versions.firebase.cocoapods.get()
extraOpts += listOf("-compiler-option", "-fmodules")
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion firebase-perf/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,14 @@ kotlin {
iosX64()
iosSimulatorArm64()
cocoapods {
ios.deploymentTarget = "12.0"
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
framework {
baseName = "FirebasePerformance"
}
noPodspec()
pod("FirebasePerformance") {
version = libs.versions.firebase.cocoapods.get()
extraOpts += listOf("-compiler-option", "-fmodules")
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion firebase-storage/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ kotlin {
iosX64()
iosSimulatorArm64()
cocoapods {
ios.deploymentTarget = "12.0"
ios.deploymentTarget = libs.versions.ios.deploymentTarget.get()
framework {
baseName = "FirebaseStorage"
}
Expand Down
19 changes: 10 additions & 9 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
[versions]
agp = "8.2.2"
androidx-test-core = "1.6.0"
androidx-test-junit = "1.2.0"
androidx-test-runner = "1.6.0"
agp = "8.5.2"
androidx-test-core = "1.6.1"
androidx-test-junit = "1.2.1"
androidx-test-runner = "1.6.2"
ben-manes-versions = "0.51.0"
firebase-bom = "33.1.1"
firebase-bom = "33.2.0"
gitlive-firebase-java-sdk = "0.4.3"
gson = "2.11.0"
junit = "4.13.2"
kotlin = "2.0.0"
kotlinx-coroutines = "1.9.0-RC"
kotlinx-serialization = "1.7.0"
kotlinx-coroutines = "1.9.0-RC.2"
kotlinx-serialization = "1.7.1"
kotlinx-binarycompatibilityvalidator = "0.15.0-Beta.2"
kotlinx-datetime = "0.6.0"
kotlinx-datetime = "0.6.1"
kotlinter = "4.4.0"
settings-api = "2.0"
settings-language = "2.0"
firebase-cocoapods = "10.28.0"
ios-deploymentTarget = "13.0"
test-logger-plugin = "3.2.0"
dokka = "1.9.20"
desugar-libs = "2.0.3"
desugar-libs = "2.1.0"

[libraries]
android-gradle-plugin = { module = "com.android.tools.build:gradle", version.ref = "agp" }
Expand Down
Binary file modified gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
4 changes: 3 additions & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.8-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip
networkTimeout=10000
validateDistributionUrl=true
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
44 changes: 31 additions & 13 deletions gradlew
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
# SPDX-License-Identifier: Apache-2.0
#

##############################################################################
#
Expand Down Expand Up @@ -55,7 +57,7 @@
# Darwin, MinGW, and NonStop.
#
# (3) This script is generated from the Groovy template
# https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# https://github.com/gradle/gradle/blob/HEAD/platforms/jvm/plugins-application/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
# within the Gradle project.
#
# You can find Gradle at https://github.com/gradle/gradle/.
Expand All @@ -80,13 +82,12 @@ do
esac
done

APP_HOME=$( cd "${APP_HOME:-./}" && pwd -P ) || exit

APP_NAME="Gradle"
# This is normally unused
# shellcheck disable=SC2034
APP_BASE_NAME=${0##*/}

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'
# Discard cd standard output in case $CDPATH is set (https://github.com/gradle/gradle/issues/25036)
APP_HOME=$( cd -P "${APP_HOME:-./}" > /dev/null && printf '%s
' "$PWD" ) || exit

# Use the maximum available, or set MAX_FD != -1 to use that value.
MAX_FD=maximum
Expand Down Expand Up @@ -133,22 +134,29 @@ location of your Java installation."
fi
else
JAVACMD=java
which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
if ! command -v java >/dev/null 2>&1
then
die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.
Please set the JAVA_HOME variable in your environment to match the
location of your Java installation."
fi
fi

# Increase the maximum file descriptors if we can.
if ! "$cygwin" && ! "$darwin" && ! "$nonstop" ; then
case $MAX_FD in #(
max*)
# In POSIX sh, ulimit -H is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
MAX_FD=$( ulimit -H -n ) ||
warn "Could not query maximum file descriptor limit"
esac
case $MAX_FD in #(
'' | soft) :;; #(
*)
# In POSIX sh, ulimit -n is undefined. That's why the result is checked to see if it worked.
# shellcheck disable=SC2039,SC3045
ulimit -n "$MAX_FD" ||
warn "Could not set maximum file descriptor limit to $MAX_FD"
esac
Expand Down Expand Up @@ -193,18 +201,28 @@ if "$cygwin" || "$msys" ; then
done
fi

# Collect all arguments for the java command;
# * $DEFAULT_JVM_OPTS, $JAVA_OPTS, and $GRADLE_OPTS can contain fragments of
# shell script including quotes and variable substitutions, so put them in
# double quotes to make sure that they get re-expanded; and
# * put everything else in single quotes, so that it's not re-expanded.

# Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script.
DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'

# Collect all arguments for the java command:
# * DEFAULT_JVM_OPTS, JAVA_OPTS, JAVA_OPTS, and optsEnvironmentVar are not allowed to contain shell fragments,
# and any embedded shellness will be escaped.
# * For example: A user cannot expect ${Hostname} to be expanded, as it is an environment variable and will be
# treated as '${Hostname}' itself on the command line.

set -- \
"-Dorg.gradle.appname=$APP_BASE_NAME" \
-classpath "$CLASSPATH" \
org.gradle.wrapper.GradleWrapperMain \
"$@"

# Stop when "xargs" is not available.
if ! command -v xargs >/dev/null 2>&1
then
die "xargs is not available"
fi

# Use "xargs" to parse quoted args.
#
# With -n1 it outputs one arg per line, with the quotes and backslashes removed.
Expand Down
Loading

0 comments on commit 0b0cee3

Please sign in to comment.