Skip to content

Set up other sdks for release #5377

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion appcheck/firebase-appcheck-debug-testing/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Unreleased

* [unchanged] Updated to keep [app_check] SDK versions aligned.
*
# 17.0.0
* [unchanged] Updated to keep [app_check] SDK versions aligned.

Expand Down
3 changes: 2 additions & 1 deletion appcheck/firebase-appcheck-debug/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Unreleased

* [unchanged] Updated to keep [app_check] SDK versions aligned.
*
# 17.0.0
* [unchanged] Updated to keep [app_check] SDK versions aligned.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ dependencies {

javadocClasspath 'com.google.auto.value:auto-value-annotations:1.6.6'

testImplementation project(':integ-testing')
testImplementation(project(":integ-testing")){
exclude group: 'com.google.firebase', module: 'firebase-common'
exclude group: 'com.google.firebase', module: 'firebase-components'
}
testImplementation 'junit:junit:4.13-beta-2'
testImplementation 'org.mockito:mockito-core:2.25.0'
testImplementation "org.robolectric:robolectric:$robolectricVersion"
Expand Down
2 changes: 1 addition & 1 deletion appcheck/firebase-appcheck-playintegrity/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Unreleased

* [unchanged] Updated to keep [app_check] SDK versions aligned.

# 17.0.0
* [unchanged] Updated to keep [app_check] SDK versions aligned.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,10 @@ dependencies {

javadocClasspath 'com.google.auto.value:auto-value-annotations:1.6.6'

testImplementation project(':integ-testing')
testImplementation(project(":integ-testing")){
exclude group: 'com.google.firebase', module: 'firebase-common'
exclude group: 'com.google.firebase', module: 'firebase-components'
}
testImplementation 'junit:junit:4.13.2'
testImplementation 'org.mockito:mockito-core:3.4.6'
testImplementation "com.google.truth:truth:$googleTruthVersion"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ dependencies {
javadocClasspath 'com.google.auto.value:auto-value-annotations:1.6.6'
javadocClasspath 'org.checkerframework:checker-qual:2.5.2'

testImplementation project(':integ-testing')
testImplementation(project(":integ-testing")){
exclude group: 'com.google.firebase', module: 'firebase-common'
exclude group: 'com.google.firebase', module: 'firebase-components'
}
testImplementation 'junit:junit:4.13-beta-2'
testImplementation 'org.mockito:mockito-core:2.25.0'
testImplementation "org.robolectric:robolectric:$robolectricVersion"
Expand Down
12 changes: 12 additions & 0 deletions appcheck/firebase-appcheck/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
# Unreleased
* [changed] Added Kotlin extensions (KTX) APIs from `com.google.firebase:firebase-appcheck-ktx`
to `com.google.firebase:firebase-appcheck` under the `com.google.firebase.appcheck` package.
For details, see the
[FAQ about this initiative](https://firebase.google.com/docs/android/ktx-apis-to-main-modules)

* [deprecated] All the APIs from `com.google.firebase:firebase-appcheck-ktx` have been added to
`com.google.firebase:firebase-appcheck` under the `com.google.firebase.appcheck` package,
and all the Kotlin extensions (KTX) APIs in `com.google.firebase:firebase-appcheck-ktx` are
now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the
[FAQ about this initiative](https://firebase.google.com/docs/android/ktx-apis-to-main-modules)



# 17.0.1
* [changed] Internal updates to allow Firebase SDKs to obtain limited-use tokens.
Expand Down
16 changes: 11 additions & 5 deletions appcheck/firebase-appcheck/firebase-appcheck.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,17 +54,20 @@ dependencies {
androidTestImplementation 'org.mockito:mockito-core:2.25.0'
androidTestImplementation 'org.mockito:mockito-inline:2.25.0'
androidTestImplementation project(':appcheck:firebase-appcheck')
androidTestImplementation project(':integ-testing')
androidTestImplementation(project(":integ-testing")){
exclude group: 'com.google.firebase', module: 'firebase-common'
exclude group: 'com.google.firebase', module: 'firebase-components'
}
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
implementation 'androidx.annotation:annotation:1.1.0'
implementation 'com.google.android.gms:play-services-base:18.0.1'
implementation 'com.google.android.gms:play-services-tasks:18.0.1'
implementation 'com.google.firebase:firebase-annotations:16.2.0'
implementation project(':appcheck:firebase-appcheck-interop')
implementation project(path: ':appcheck:firebase-appcheck-interop')
implementation(project(":firebase-common"))
implementation(project(":firebase-common:ktx"))
implementation(project(":firebase-components"))
implementation("com.google.firebase:firebase-common:20.4.0")
implementation("com.google.firebase:firebase-common-ktx:20.4.0")
implementation("com.google.firebase:firebase-components:17.1.3")
javadocClasspath 'com.google.auto.value:auto-value-annotations:1.6.6'
testImplementation "androidx.test:core:$androidxTestCoreVersion"
testImplementation "com.google.truth:truth:$googleTruthVersion"
Expand All @@ -74,5 +77,8 @@ dependencies {
testImplementation 'junit:junit:4.13-beta-2'
testImplementation 'org.mockito:mockito-core:2.25.0'
testImplementation 'org.mockito:mockito-inline:2.25.0'
testImplementation project(':integ-testing')
testImplementation(project(":integ-testing")){
exclude group: 'com.google.firebase', module: 'firebase-common'
exclude group: 'com.google.firebase', module: 'firebase-components'
}
}
6 changes: 3 additions & 3 deletions appcheck/firebase-appcheck/ktx/ktx.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ dependencies {
androidTestImplementation 'junit:junit:4.12'
api(project(":appcheck:firebase-appcheck"))
androidTestImplementation(project(":appcheck:firebase-appcheck-interop"))
api(project(":firebase-common"))
api(project(":firebase-common:ktx"))
implementation(project(":firebase-components"))
api("com.google.firebase:firebase-common:20.4.0")
api("com.google.firebase:firebase-common-ktx:20.4.0")
implementation("com.google.firebase:firebase-components:17.1.3")
testImplementation "com.google.truth:truth:$googleTruthVersion"
testImplementation "org.robolectric:robolectric:$robolectricVersion"
testImplementation 'junit:junit:4.12'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,16 @@ import com.google.firebase.components.ComponentRegistrar
import com.google.firebase.ktx.Firebase
import com.google.firebase.ktx.app

/** Returns the [FirebaseAppCheck] instance of the default [FirebaseApp]. */
/**
* Returns the [FirebaseAppCheck] instance of the default [FirebaseApp].
* @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
* respective main modules, and the Kotlin extension (KTX) APIs in
* `com.google.firebase.firebase-appcheck-ktx` are now deprecated. As early as April 2024, we'll no
* longer release KTX modules. For details, see the
* [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules)
*/
@Deprecated(
"Use `com.google.firebase.appcheck.Firebase.appCheck` from the main module instead. The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in `com.google.firebase.firebase-appcheck-ktx` are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules){:.external}",
"Use `com.google.firebase.appcheck.Firebase.appCheck` from the main module instead.",
ReplaceWith(
expression = "com.google.firebase.Firebase.appCheck",
imports = ["com.google.firebase.Firebase", "com.google.firebase.appcheck.appCheck"]
Expand All @@ -33,9 +40,16 @@ import com.google.firebase.ktx.app
val Firebase.appCheck: FirebaseAppCheck
get() = FirebaseAppCheck.getInstance()

/** Returns the [FirebaseAppCheck] instance of a given [FirebaseApp]. */
/**
* Returns the [FirebaseAppCheck] instance of a given [FirebaseApp].
* @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
* respective main modules, and the Kotlin extension (KTX) APIs in
* `com.google.firebase.firebase-appcheck-ktx` are now deprecated. As early as April 2024, we'll no
* longer release KTX modules. For details, see the
* [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules)
*/
@Deprecated(
"Use `com.google.firebase.appcheck.Firebase.appCheck(app)` from the main module instead. The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in `com.google.firebase.firebase-appcheck-ktx` are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules){:.external}",
"Use `com.google.firebase.appcheck.Firebase.appCheck(app)` from the main module instead.",
ReplaceWith(
expression = "com.google.firebase.Firebase.appCheck(app)",
imports = ["com.google.firebase.Firebase", "com.google.firebase.appcheck.appCheck"]
Expand All @@ -47,9 +61,14 @@ fun Firebase.appCheck(app: FirebaseApp) = FirebaseAppCheck.getInstance(app)
* Destructuring declaration for [AppCheckToken] to provide token.
*
* @return the token of the [AppCheckToken]
* @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
* respective main modules, and the Kotlin extension (KTX) APIs in
* `com.google.firebase.firebase-appcheck-ktx` are now deprecated. As early as April 2024, we'll no
* longer release KTX modules. For details, see the
* [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules)
*/
@Deprecated(
"Use `com.google.firebase.appcheck.AppCheckToken.component1` from the main module instead. The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in `com.google.firebase.firebase-appcheck-ktx` are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules){:.external}",
"Use `com.google.firebase.appcheck.AppCheckToken.component1` from the main module instead.",
ReplaceWith(expression = "component1()", imports = ["com.google.firebase.appcheck.component1"])
)
operator fun AppCheckToken.component1() = token
Expand All @@ -58,16 +77,28 @@ operator fun AppCheckToken.component1() = token
* Destructuring declaration for [AppCheckToken] to provide expireTimeMillis.
*
* @return the expireTimeMillis of the [AppCheckToken]
* @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
* respective main modules, and the Kotlin extension (KTX) APIs in
* `com.google.firebase.firebase-appcheck-ktx` are now deprecated. As early as April 2024, we'll no
* longer release KTX modules. For details, see the
* [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules)
*/
@Deprecated(
"Use `com.google.firebase.appcheck.AppCheckToken.component2` from the main module instead. The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in `com.google.firebase.firebase-appcheck-ktx` are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules){:.external}",
"Use `com.google.firebase.appcheck.AppCheckToken.component2` from the main module instead.",
ReplaceWith(expression = "component2()", imports = ["com.google.firebase.appcheck.component2"])
)
operator fun AppCheckToken.component2() = expireTimeMillis

/** @suppress */
/**
* @suppress
* @deprecated **Deprecation Notice:** The Kotlin extensions (KTX) APIs have been added to their
* respective main modules, and the Kotlin extension (KTX) APIs in
* `com.google.firebase.firebase-appcheck-ktx` are now deprecated. As early as April 2024, we'll no
* longer release KTX modules. For details, see the
* [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules)
*/
@Deprecated(
"Use `com.google.firebase.appcheck.FirebaseAppCheckKtxRegistrar` from the main module instead. The Kotlin extensions (KTX) APIs have been added to their respective main modules, and the Kotlin extension (KTX) APIs in `com.google.firebase.firebase-appcheck-ktx` are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details, see the [FAQ about this initiative.](https://firebase.google.com/docs/android/ktx-apis-to-main-modules){:.external}",
"Use `com.google.firebase.appcheck.FirebaseAppCheckKtxRegistrar` from the main module instead.",
ReplaceWith(
expression = "FirebaseAppCheckKtxRegistrar",
imports =
Expand Down
4 changes: 2 additions & 2 deletions contributor-docs/onboarding/new_sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,8 +96,8 @@ android {
}

dependencies {
implementation(project(":firebase-common"))
implementation(project(":firebase-components"))
implementation("com.google.firebase:firebase-common:20.4.0")
implementation("com.google.firebase:firebase-components:17.1.3")
}

```
Expand Down
15 changes: 15 additions & 0 deletions firebase-appdistribution-api/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,19 @@
# Unreleased
* [changed] Added Kotlin extensions (KTX) APIs from
`com.google.firebase:firebase-appdistribution-api-ktx`
to `com.google.firebase:firebase-appdistribution-api` under the
`com.google.firebase.appdistribution` package.
For details, see the
[FAQ about this initiative](https://firebase.google.com/docs/android/ktx-apis-to-main-modules)

* [deprecated] All the APIs from `com.google.firebase:firebase-appdistribution-api-ktx` have been
added to
`com.google.firebase:firebase-appdistribution-api` under the
`com.google.firebase.appdistribution` package,
and all the Kotlin extensions (KTX) APIs in `com.google.firebase:firebase-appdistribution-api-ktx`
are now deprecated. As early as April 2024, we'll no longer release KTX modules. For details,
see the
[FAQ about this initiative](https://firebase.google.com/docs/android/ktx-apis-to-main-modules)

# 16.0.0-beta09
* [feature] Improved development mode to allow all API calls to be made without having to sign in.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion"
implementation 'androidx.annotation:annotation:1.1.0'
implementation 'com.google.android.gms:play-services-tasks:18.0.1'
implementation(project(":firebase-common"))
implementation(project(":firebase-common:ktx"))
implementation(project(":firebase-components"))
implementation("com.google.firebase:firebase-common:20.4.0")
implementation("com.google.firebase:firebase-common-ktx:20.4.0")
implementation("com.google.firebase:firebase-components:17.1.3")
testImplementation "androidx.test:core:$androidxTestCoreVersion"
testImplementation "com.google.truth:truth:$googleTruthVersion"
testImplementation "org.robolectric:robolectric:$robolectricVersion"
Expand Down
6 changes: 3 additions & 3 deletions firebase-appdistribution-api/ktx/ktx.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,9 @@ dependencies {
androidTestImplementation 'androidx.test:runner:1.2.0'
androidTestImplementation 'junit:junit:4.12'
api(project(":firebase-appdistribution-api"))
api(project(":firebase-common"))
api(project(":firebase-common:ktx"))
implementation(project(":firebase-components"))
api("com.google.firebase:firebase-common:20.4.0")
api("com.google.firebase:firebase-common-ktx:20.4.0")
implementation("com.google.firebase:firebase-components:17.1.3")
testImplementation "com.google.truth:truth:$googleTruthVersion"
testImplementation "org.robolectric:robolectric:$robolectricVersion"
testImplementation 'junit:junit:4.12'
Expand Down
Loading