From 7351808d00805c13da86c8cb36dd706462966772 Mon Sep 17 00:00:00 2001
From: MM20 <15646950+MM2-0@users.noreply.github.com>
Date: Sun, 18 Sep 2022 15:11:27 +0200
Subject: [PATCH] Remove draglinearlayout library
---
app/build.gradle.kts | 2 --
.../launcher2/licenses/OpenSourceLicenses.kt | 8 -----
build.gradle.kts | 1 -
settings.gradle.kts | 4 ---
ui/build.gradle.kts | 2 --
.../main/res/layout/dialog_edit_favorites.xml | 24 ---------------
ui/src/main/res/layout/edit_favorites_row.xml | 30 -------------------
.../main/res/layout/edit_favorites_title.xml | 21 -------------
8 files changed, 92 deletions(-)
delete mode 100644 ui/src/main/res/layout/dialog_edit_favorites.xml
delete mode 100644 ui/src/main/res/layout/edit_favorites_row.xml
delete mode 100644 ui/src/main/res/layout/edit_favorites_title.xml
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index 4ed6048d..8d97fa00 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -101,8 +101,6 @@ dependencies {
implementation(libs.bundles.materialdialogs)
- implementation(libs.draglinearlayout)
-
implementation(libs.koin.android)
implementation(project(":accounts"))
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 3c4a15ac..a71799be 100644
--- a/base/src/main/java/de/mm20/launcher2/licenses/OpenSourceLicenses.kt
+++ b/base/src/main/java/de/mm20/launcher2/licenses/OpenSourceLicenses.kt
@@ -93,14 +93,6 @@ val OpenSourceLicenses = arrayOf(
copyrightNote = "Copyright (C) 2020 Wasabeef",
url = "https://github.com/afollestad/material-dialogs"
),
- OpenSourceLibrary(
- name = "DragLinearLayout",
- description = "An Android LinearLayout that supports draggable and swappable child Views",
- licenseName = R.string.mit_license_name,
- licenseText = R.raw.license_mit,
- copyrightNote = "Copyright (c) 2014 Justas Medeisis",
- url = "https://github.com/justasm/DragLinearLayout"
- ),
OpenSourceLibrary(
name = "mXparser (Version 4.4.2)",
description = "A super easy, rich, fast and highly flexible math expression parser library",
diff --git a/build.gradle.kts b/build.gradle.kts
index 2a2b8da1..fe85e9a2 100644
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -27,7 +27,6 @@ allprojects {
}
}
maven(url = "https://pkgs.dev.azure.com/MicrosoftDeviceSDK/DuoSDK-Public/_packaging/Duo-SDK-Feed/maven/v1")
- jcenter() // For draglinearlayout
}
}
diff --git a/settings.gradle.kts b/settings.gradle.kts
index fc374c39..37263103 100644
--- a/settings.gradle.kts
+++ b/settings.gradle.kts
@@ -322,10 +322,6 @@ dependencyResolutionManagement {
)
)
- alias("draglinearlayout")
- .to("com.jmedeisis", "draglinearlayout")
- .version("1.1.0")
-
// 4.4.2 is the last GPL compatible version, don't update to 5.x
alias("mathparser")
.to("org.mariuszgromada.math", "MathParser.org-mXparser")
diff --git a/ui/build.gradle.kts b/ui/build.gradle.kts
index 27ad79f6..ef30126a 100644
--- a/ui/build.gradle.kts
+++ b/ui/build.gradle.kts
@@ -83,8 +83,6 @@ dependencies {
// Legacy dependencies
implementation(libs.androidx.transition)
- implementation(libs.draglinearlayout)
-
implementation(libs.accompanist.insets)
implementation(libs.accompanist.systemuicontroller)
implementation(libs.accompanist.pager)
diff --git a/ui/src/main/res/layout/dialog_edit_favorites.xml b/ui/src/main/res/layout/dialog_edit_favorites.xml
deleted file mode 100644
index c5e378af..00000000
--- a/ui/src/main/res/layout/dialog_edit_favorites.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ui/src/main/res/layout/edit_favorites_row.xml b/ui/src/main/res/layout/edit_favorites_row.xml
deleted file mode 100644
index 14051545..00000000
--- a/ui/src/main/res/layout/edit_favorites_row.xml
+++ /dev/null
@@ -1,30 +0,0 @@
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/ui/src/main/res/layout/edit_favorites_title.xml b/ui/src/main/res/layout/edit_favorites_title.xml
deleted file mode 100644
index d5d0b1ef..00000000
--- a/ui/src/main/res/layout/edit_favorites_title.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
-
-
\ No newline at end of file