2024-02-02 15:14:31 +01:00
|
|
|
/*
|
|
|
|
* Copyright 2024 Pachli Association
|
2022-04-21 18:46:21 +02:00
|
|
|
*
|
2023-09-05 13:28:56 +02:00
|
|
|
* This file is a part of Pachli.
|
2022-04-21 18:46:21 +02:00
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or modify it under the terms of the
|
|
|
|
* GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
2023-09-05 13:28:56 +02:00
|
|
|
* Pachli is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
2022-04-21 18:46:21 +02:00
|
|
|
* the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
|
|
* Public License for more details.
|
|
|
|
*
|
2023-10-26 16:41:12 +02:00
|
|
|
* You should have received a copy of the GNU General Public License along with Pachli; if not,
|
|
|
|
* see <http://www.gnu.org/licenses>.
|
|
|
|
*/
|
2022-04-21 18:46:21 +02:00
|
|
|
|
2024-02-02 15:14:31 +01:00
|
|
|
plugins {
|
|
|
|
alias(libs.plugins.pachli.android.library)
|
|
|
|
alias(libs.plugins.pachli.android.hilt)
|
|
|
|
}
|
2022-04-21 18:46:21 +02:00
|
|
|
|
2024-02-02 15:14:31 +01:00
|
|
|
android {
|
|
|
|
namespace = "app.pachli.core.ui"
|
|
|
|
|
|
|
|
defaultConfig {
|
|
|
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
2024-03-16 18:42:11 +01:00
|
|
|
vectorDrawables.useSupportLibrary = true
|
2024-02-02 15:14:31 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
// Calls "openLink" from projects.core.activity
|
|
|
|
implementation(projects.core.activity)
|
2024-03-16 18:42:11 +01:00
|
|
|
implementation(projects.core.common)
|
2024-02-02 15:14:31 +01:00
|
|
|
implementation(projects.core.designsystem)
|
|
|
|
|
2024-03-16 18:42:11 +01:00
|
|
|
// Uses HttpException from Retrofit
|
|
|
|
implementation(projects.core.network)
|
|
|
|
|
2024-03-24 18:36:28 +01:00
|
|
|
// Uses JsonDataException from Moshi
|
|
|
|
implementation(libs.moshi)
|
|
|
|
|
2024-02-02 15:14:31 +01:00
|
|
|
// Some views inherit from AndroidX views
|
|
|
|
implementation(libs.bundles.androidx)
|
2024-03-16 18:42:11 +01:00
|
|
|
|
|
|
|
implementation(libs.material.iconics)
|
|
|
|
implementation(libs.material.typeface)
|
2024-02-02 15:14:31 +01:00
|
|
|
}
|