File tree Expand file tree Collapse file tree 4 files changed +79
-0
lines changed
src/main/java/com/google/firebase/annotations Expand file tree Collapse file tree 4 files changed +79
-0
lines changed Original file line number Diff line number Diff line change
1
+ // Copyright 2020 Google LLC
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.
14
+
15
+ plugins {
16
+ id ' firebase-java-library'
17
+ }
18
+
19
+ firebaseLibrary {
20
+ publishSources = true
21
+ publishJavadoc = false
22
+ }
23
+
24
+ java {
25
+ sourceCompatibility JavaVersion . VERSION_1_8
26
+ targetCompatibility JavaVersion . VERSION_1_8
27
+ }
28
+
29
+ tasks. withType(JavaCompile ) {
30
+ options. compilerArgs << " -Werror"
31
+ }
Original file line number Diff line number Diff line change
1
+ # Copyright 2020 Google LLC
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.
14
+
15
+ version =16.0.0
Original file line number Diff line number Diff line change
1
+ // Copyright 2020 Google LLC
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.
14
+
15
+ package com .google .firebase .annotations ;
16
+
17
+ import java .lang .annotation .ElementType ;
18
+ import java .lang .annotation .Inherited ;
19
+ import java .lang .annotation .Target ;
20
+
21
+ /**
22
+ * Indicates that the annotated symbol should be called from a {@code Deferred<T>} dependency.
23
+ *
24
+ * <p>This is particularly important for callback-style APIs in the context of <a
25
+ * href="https://developer.android.com/guide/app-bundle/play-feature-delivery">dynamically loaded
26
+ * modules</a>.
27
+ *
28
+ * @hide
29
+ */
30
+ @ Target ({ElementType .METHOD , ElementType .CONSTRUCTOR })
31
+ @ Inherited
32
+ public @interface DeferredApi {}
Original file line number Diff line number Diff line change 1
1
firebase-abt
2
+ firebase-annotations
2
3
firebase-common
3
4
firebase-common:data-collection-tests
4
5
firebase-common:ktx
You can’t perform that action at this time.
0 commit comments