diff --git a/firebase-functions/firebase-functions.gradle.kts b/firebase-functions/firebase-functions.gradle.kts index 5a9e8f74a31..a879c13a4b4 100644 --- a/firebase-functions/firebase-functions.gradle.kts +++ b/firebase-functions/firebase-functions.gradle.kts @@ -15,6 +15,7 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { + id("LicenseResolverPlugin") id("firebase-library") id("kotlin-android") id("firebase-vendor") @@ -61,6 +62,8 @@ kotlin { explicitApi() } +thirdPartyLicenses { add("dagger2", "${projectDir}/third_party/dagger2/LICENSE") } + dependencies { javadocClasspath("org.codehaus.mojo:animal-sniffer-annotations:1.21") javadocClasspath(libs.autovalue.annotations) diff --git a/firebase-functions/third_party/dagger2/LICENSE b/firebase-functions/third_party/dagger2/LICENSE new file mode 100644 index 00000000000..0567528a5c2 --- /dev/null +++ b/firebase-functions/third_party/dagger2/LICENSE @@ -0,0 +1,13 @@ +Copyright 2012 The Dagger Authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. diff --git a/firebase-sessions/firebase-sessions.gradle.kts b/firebase-sessions/firebase-sessions.gradle.kts index 9db21849ce1..b84e4ab8af6 100644 --- a/firebase-sessions/firebase-sessions.gradle.kts +++ b/firebase-sessions/firebase-sessions.gradle.kts @@ -19,6 +19,7 @@ import org.jetbrains.kotlin.gradle.dsl.JvmTarget plugins { + id("LicenseResolverPlugin") id("firebase-library") id("firebase-vendor") id("kotlin-android") @@ -66,6 +67,8 @@ kotlin { compilerOptions { jvmTarget = JvmTarget.JVM_1_8 } } +thirdPartyLicenses { add("dagger2", "${projectDir}/third_party/dagger2/LICENSE") } + dependencies { api(libs.firebase.common) diff --git a/firebase-sessions/third_party/dagger2/LICENSE b/firebase-sessions/third_party/dagger2/LICENSE new file mode 100644 index 00000000000..0567528a5c2 --- /dev/null +++ b/firebase-sessions/third_party/dagger2/LICENSE @@ -0,0 +1,13 @@ +Copyright 2012 The Dagger Authors + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License.