Skip to content
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
35 changes: 30 additions & 5 deletions firebase-abt/firebase-abt.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,26 +14,50 @@

plugins {
id 'firebase-library'
id 'com.google.protobuf'
}

firebaseLibrary {
testLab.enabled = false
publishSources = true
}

// TODO(issue/568): Remove this once legacy logic is removed from Remote Config.
protobuf {
protoc {
artifact = 'com.google.protobuf:protoc:3.4.0'
}
plugins {
javalite {
artifact = 'com.google.protobuf:protoc-gen-javalite:3.0.0'
}
}
generateProtoTasks {
all().each { task ->
task.builtins {
remove java
}
task.plugins {
javalite {}
}
}
}
}

android {

lintOptions {
abortOnError false
}
sourceSets {
main {
java {
}
}
test {
java {
proto {
srcDir 'src/proto'
}

resources {
srcDir 'src/proto/com/google/protos'
}
}
}

Expand Down Expand Up @@ -61,6 +85,7 @@ dependencies {
implementation ('com.google.firebase:firebase-measurement-connector:18.0.0') {
exclude group: "com.google.firebase", module: "firebase-common"
}
implementation 'com.google.protobuf:protobuf-lite:3.0.1'
testImplementation 'org.mockito:mockito-core:2.25.0'
testImplementation 'com.google.truth:truth:0.44'
testImplementation 'junit:junit:4.13-beta-2'
Expand Down
5 changes: 0 additions & 5 deletions firebase-config/firebase-config.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,6 @@ protobuf {
}
}

firebaseLibrary {
testLab.enabled = true
publishSources = true
}

android {
compileSdkVersion project.targetSdkVersion
defaultConfig {
Expand Down