File tree Expand file tree Collapse file tree 3 files changed +30
-10
lines changed
src/proto/com/google/protos/developers/mobile/abt/proto Expand file tree Collapse file tree 3 files changed +30
-10
lines changed Original file line number Diff line number Diff line change 14
14
15
15
plugins {
16
16
id ' firebase-library'
17
+ id ' com.google.protobuf'
17
18
}
18
19
19
20
firebaseLibrary {
20
21
testLab. enabled = false
21
22
publishSources = true
22
23
}
23
24
25
+ // TODO(issue/568): Remove this once legacy logic is removed from Remote Config.
26
+ protobuf {
27
+ protoc {
28
+ artifact = ' com.google.protobuf:protoc:3.4.0'
29
+ }
30
+ plugins {
31
+ javalite {
32
+ artifact = ' com.google.protobuf:protoc-gen-javalite:3.0.0'
33
+ }
34
+ }
35
+ generateProtoTasks {
36
+ all(). each { task ->
37
+ task. builtins {
38
+ remove java
39
+ }
40
+ task. plugins {
41
+ javalite {}
42
+ }
43
+ }
44
+ }
45
+ }
46
+
24
47
android {
25
48
26
49
lintOptions {
27
50
abortOnError false
28
51
}
29
52
sourceSets {
30
53
main {
31
- java {
32
- }
33
- }
34
- test {
35
- java {
54
+ proto {
55
+ srcDir ' src/proto'
36
56
}
57
+
58
+ resources {
59
+ srcDir ' src/proto/com/google/protos'
60
+ }
37
61
}
38
62
}
39
63
@@ -61,6 +85,7 @@ dependencies {
61
85
implementation (' com.google.firebase:firebase-measurement-connector:18.0.0' ) {
62
86
exclude group : " com.google.firebase" , module : " firebase-common"
63
87
}
88
+ implementation ' com.google.protobuf:protobuf-lite:3.0.1'
64
89
testImplementation ' org.mockito:mockito-core:2.25.0'
65
90
testImplementation ' com.google.truth:truth:0.44'
66
91
testImplementation ' junit:junit:4.13-beta-2'
File renamed without changes.
Original file line number Diff line number Diff line change @@ -50,11 +50,6 @@ protobuf {
50
50
}
51
51
}
52
52
53
- firebaseLibrary {
54
- testLab. enabled = true
55
- publishSources = true
56
- }
57
-
58
53
android {
59
54
compileSdkVersion project. targetSdkVersion
60
55
defaultConfig {
You can’t perform that action at this time.
0 commit comments