Skip to content

Commit 129f2a7

Browse files
committed
Fix license for vendored dagger2
1 parent 9364dc3 commit 129f2a7

File tree

4 files changed

+36
-0
lines changed

4 files changed

+36
-0
lines changed

firebase-functions/firebase-functions.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
1616

1717
plugins {
18+
id("LicenseResolverPlugin")
1819
id("firebase-library")
1920
id("kotlin-android")
2021
id("firebase-vendor")
@@ -61,6 +62,10 @@ kotlin {
6162
explicitApi()
6263
}
6364

65+
thirdPartyLicenses {
66+
add("dagger2", "${projectDir}/third_party/dagger2/LICENSE")
67+
}
68+
6469
dependencies {
6570
javadocClasspath("org.codehaus.mojo:animal-sniffer-annotations:1.21")
6671
javadocClasspath(libs.autovalue.annotations)
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2012 The Dagger Authors
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

firebase-sessions/firebase-sessions.gradle.kts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
2020

2121
plugins {
22+
id("LicenseResolverPlugin")
2223
id("firebase-library")
2324
id("firebase-vendor")
2425
id("kotlin-android")
@@ -66,6 +67,10 @@ kotlin {
6667
compilerOptions { jvmTarget = JvmTarget.JVM_1_8 }
6768
}
6869

70+
thirdPartyLicenses {
71+
add("dagger2", "${projectDir}/third_party/dagger2/LICENSE")
72+
}
73+
6974
dependencies {
7075
api(libs.firebase.common)
7176

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2012 The Dagger Authors
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.

0 commit comments

Comments
 (0)