Prepare for Litho annotation removal

Summary:
Without this, our build will break with the next Litho release
because the `DoNotStrip` annotation will no longer be exported
as part of `litho-annotations`.

Reviewed By: jknoxville

Differential Revision: D16828144

fbshipit-source-id: f9a78b331678882025732498f18a3443d148ef4d
This commit is contained in:
Pascal Hartig
2019-08-15 08:46:30 -07:00
committed by Facebook Github Bot
parent ce3f69c249
commit 2fac83420b
2 changed files with 2 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ android {
dependencies { dependencies {
compileOnly deps.lithoAnnotations compileOnly deps.lithoAnnotations
compileOnly deps.proguardAnnotations
implementation project(':fbjni') implementation project(':fbjni')
implementation deps.soloader implementation deps.soloader
implementation deps.jsr305 implementation deps.jsr305

View File

@@ -65,6 +65,7 @@ ext.deps = [
// Annotations // Annotations
jsr305 : 'com.google.code.findbugs:jsr305:3.0.2', jsr305 : 'com.google.code.findbugs:jsr305:3.0.2',
inferAnnotations : 'com.facebook.infer.annotation:infer-annotation:0.11.2', inferAnnotations : 'com.facebook.infer.annotation:infer-annotation:0.11.2',
proguardAnnotations: 'com.facebook.yoga:proguard-annotations:1.14.1',
// Litho // Litho
lithoAnnotations : "com.facebook.litho:litho-annotations:$LITHO_VERSION", lithoAnnotations : "com.facebook.litho:litho-annotations:$LITHO_VERSION",
lithoCore : "com.facebook.litho:litho-core:$LITHO_VERSION", lithoCore : "com.facebook.litho:litho-core:$LITHO_VERSION",