From 5e9719afa741eaf9c9c13a783fce65038456ab60 Mon Sep 17 00:00:00 2001 From: MM20 <15646950+MM2-0@users.noreply.github.com> Date: Sat, 19 Feb 2022 21:08:08 +0100 Subject: [PATCH] Add Apache Commons Text --- .../java/de/mm20/launcher2/licenses/OpenSourceLicenses.kt | 7 +++++++ settings.gradle.kts | 4 ++++ 2 files changed, 11 insertions(+) diff --git a/base/src/main/java/de/mm20/launcher2/licenses/OpenSourceLicenses.kt b/base/src/main/java/de/mm20/launcher2/licenses/OpenSourceLicenses.kt index 27cb1259..ff1f12cf 100644 --- a/base/src/main/java/de/mm20/launcher2/licenses/OpenSourceLicenses.kt +++ b/base/src/main/java/de/mm20/launcher2/licenses/OpenSourceLicenses.kt @@ -187,4 +187,11 @@ val OpenSourceLicenses = arrayOf( licenseText = R.raw.license_mit, url = "https://github.com/godaddy/compose-color-picker" ), + OpenSourceLibrary( + name = "Apache Commons Text", + description = "Apache Commons Text is a library focused on algorithms working on strings. ", + licenseName = R.string.apache_license_name, + licenseText = R.raw.license_apache_2, + url = "https://commons.apache.org/proper/commons-text/" + ), ) \ No newline at end of file diff --git a/settings.gradle.kts b/settings.gradle.kts index 21549dc2..9c8a063f 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -294,6 +294,10 @@ dependencyResolutionManagement { .to("org.jsoup", "jsoup") .version("1.14.2") + alias("commons.text") + .to("org.apache.commons", "commons-text") + .version("1.9") + version("materialdialogs", "3.3.0") alias("materialdialogs.core") .to("com.afollestad.material-dialogs", "core")