Skip to content

Commit

Permalink
Fix OSS build
Browse files Browse the repository at this point in the history
Summary: OSS build is broken because lifecycle-ktx dependency was added in BUCK but not in gradle in litho-coroutines-kotlin module. This diff fixes the issue.

Reviewed By: adityasharat

Differential Revision: D64459826

fbshipit-source-id: a849cd0ef5bc9c9d831c3a234800d66304922262
  • Loading branch information
zielinskimz authored and facebook-github-bot committed Oct 16, 2024
1 parent f3d4085 commit 8d84f8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ ext.deps = [
supportDynamicAnimations : 'androidx.dynamicanimation:dynamicanimation-ktx:1.0.0-alpha03',
// lifecycle
lifecycle : 'androidx.lifecycle:lifecycle-runtime:2.6.1',
lifecycleKtx : 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1',
viewModel : 'androidx.lifecycle:lifecycle-viewmodel:2.3.1',
liveData : 'androidx.lifecycle:lifecycle-livedata:2.6.1',
lifecycleService : 'androidx.lifecycle:lifecycle-service:2.6.1',
Expand Down
1 change: 1 addition & 0 deletions litho-coroutines-kotlin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ dependencies {
implementation deps.kotlinStandardLib
implementation deps.supportCore
implementation deps.supportDynamicAnimations
implementation deps.lifecycleKtx

// Android Support Library
compileOnly deps.supportAnnotations
Expand Down

0 comments on commit 8d84f8c

Please sign in to comment.