Add build script for the RTE library
This commit is contained in:
parent
b7b1c0d1fc
commit
d5c8b62178
5 changed files with 89 additions and 3 deletions
|
|
@ -34,8 +34,13 @@ dependencies {
|
|||
implementation(projects.libraries.testtags)
|
||||
implementation(projects.libraries.uiUtils)
|
||||
|
||||
api(libs.matrix.richtexteditor)
|
||||
api(libs.matrix.richtexteditor.compose)
|
||||
if (file("${rootDir.path}/libraries/textcomposer/lib/library-compose.aar").exists()) {
|
||||
println("\nNote: Using local binaries of the Rich Text Editor.\n")
|
||||
debugApi(projects.libraries.textcomposer.lib)
|
||||
} else {
|
||||
debugApi(libs.matrix.richtexteditor)
|
||||
debugApi(libs.matrix.richtexteditor.compose)
|
||||
}
|
||||
|
||||
ksp(libs.showkase.processor)
|
||||
|
||||
|
|
|
|||
2
libraries/textcomposer/lib/.gitignore
vendored
Normal file
2
libraries/textcomposer/lib/.gitignore
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
# Built application files
|
||||
*.aar
|
||||
3
libraries/textcomposer/lib/build.gradle.kts
Normal file
3
libraries/textcomposer/lib/build.gradle.kts
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
configurations.maybeCreate("default")
|
||||
artifacts.add("default", file("library.aar"))
|
||||
artifacts.add("default", file("library-compose.aar"))
|
||||
Loading…
Add table
Add a link
Reference in a new issue