Skip to content
This repository was archived by the owner on Nov 22, 2024. It is now read-only.

Commit d0cbdcb

Browse files
Peng Jiangfacebook-github-bot
Peng Jiang
authored andcommitted
move the aar to its own module (#5396)
Summary: Pull Request resolved: #5396 This is a workaround to fix the issue: Direct local .aar file dependencies are not supported when building an AAR. Reviewed By: passy Differential Revision: D52483694 fbshipit-source-id: fe6d18221cf348355b31ef6b71cd6d6234247599
1 parent 2e1e130 commit d0cbdcb

File tree

4 files changed

+13
-1
lines changed

4 files changed

+13
-1
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
/*
2+
* Copyright (c) Meta Platforms, Inc. and affiliates.
3+
*
4+
* This source code is licensed under the MIT license found in the
5+
* LICENSE file in the root directory of this source tree.
6+
*/
7+
8+
configurations.maybeCreate("default")
9+
artifacts.add("default", file('inspection-1.0.0.aar'))

android/plugins/jetpack-compose/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ android {
3030
implementation 'androidx.compose.ui:ui:1.4.3'
3131
implementation 'androidx.compose.ui:ui-tooling:1.4.3'
3232
implementation 'org.jetbrains.kotlin:kotlin-reflect:1.9.21'
33-
implementation(files("libs/inspection-1.0.0.aar"))
33+
implementation project(':inspection-lib')
3434
}
3535
}
3636

settings.gradle

+3
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,6 @@ project(':retrofit2-protobuf').projectDir = file('android/plugins/retrofit2-prot
4545

4646
include ':jetpack-compose-plugin'
4747
project(':jetpack-compose-plugin').projectDir = file('android/plugins/jetpack-compose')
48+
49+
include ':inspection-lib'
50+
project(':inspection-lib').projectDir = file('android/plugins/inspection-lib')

0 commit comments

Comments
 (0)