mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Add build script for the RTE library
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
# Built application files
|
||||
*.aar
|
||||
@@ -0,0 +1,3 @@
|
||||
configurations.maybeCreate("default")
|
||||
artifacts.add("default", file("library.aar"))
|
||||
artifacts.add("default", file("library-compose.aar"))
|
||||
Reference in New Issue
Block a user