Merge pull request #2119 from element-hq/misc/jme/add-rte-build-script

Add build script for the RTE library
This commit is contained in:
Jorge Martin Espinosa 2023-12-28 18:18:19 +01:00 committed by GitHub
commit 5a593be997
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 91 additions and 3 deletions

View file

@ -34,8 +34,15 @@ dependencies {
implementation(projects.libraries.testtags)
implementation(projects.libraries.uiUtils)
api(libs.matrix.richtexteditor)
api(libs.matrix.richtexteditor.compose)
releaseApi(libs.matrix.richtexteditor)
releaseApi(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
View file

@ -0,0 +1,2 @@
# Built application files
*.aar

View file

@ -0,0 +1,3 @@
configurations.maybeCreate("default")
artifacts.add("default", file("library.aar"))
artifacts.add("default", file("library-compose.aar"))