2025-05-26 21:26:46 -05:00
|
|
|
/*
|
|
|
|
|
* Copyright (c) 2025 Meshtastic LLC
|
|
|
|
|
*
|
|
|
|
|
* 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.
|
|
|
|
|
*
|
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
|
*
|
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
|
|
|
*/
|
|
|
|
|
|
2025-09-24 16:23:05 -04:00
|
|
|
include(
|
|
|
|
|
":app",
|
2026-01-29 13:45:00 -06:00
|
|
|
":core:api",
|
2026-02-05 22:16:16 -06:00
|
|
|
":core:barcode",
|
2026-02-20 06:41:52 -06:00
|
|
|
":core:ble",
|
2025-10-03 17:24:52 -04:00
|
|
|
":core:common",
|
2025-09-24 16:23:05 -04:00
|
|
|
":core:data",
|
|
|
|
|
":core:database",
|
|
|
|
|
":core:datastore",
|
|
|
|
|
":core:di",
|
2026-03-02 12:15:33 -06:00
|
|
|
":core:domain",
|
2025-09-24 16:23:05 -04:00
|
|
|
":core:model",
|
|
|
|
|
":core:navigation",
|
|
|
|
|
":core:network",
|
2026-02-05 22:16:16 -06:00
|
|
|
":core:nfc",
|
2025-09-24 16:23:05 -04:00
|
|
|
":core:prefs",
|
|
|
|
|
":core:proto",
|
2026-03-03 07:15:28 -06:00
|
|
|
":core:repository",
|
2025-09-30 16:55:56 -04:00
|
|
|
":core:service",
|
2026-02-22 21:39:50 -06:00
|
|
|
":core:resources",
|
2026-04-01 15:21:25 -05:00
|
|
|
":core:takserver",
|
2026-03-12 16:14:49 -05:00
|
|
|
":core:testing",
|
2025-09-25 17:01:53 -04:00
|
|
|
":core:ui",
|
2025-10-04 21:15:55 -04:00
|
|
|
":feature:intro",
|
2025-10-12 13:07:03 -04:00
|
|
|
":feature:messaging",
|
2026-03-12 16:14:49 -05:00
|
|
|
":feature:connections",
|
2025-09-24 16:23:05 -04:00
|
|
|
":feature:map",
|
2025-10-01 19:26:41 -04:00
|
|
|
":feature:node",
|
2025-10-06 13:20:03 -04:00
|
|
|
":feature:settings",
|
2025-11-24 13:02:53 -06:00
|
|
|
":feature:firmware",
|
2026-04-02 12:31:17 -05:00
|
|
|
":feature:wifi-provision",
|
2026-03-18 19:21:18 -05:00
|
|
|
":feature:widget",
|
2025-09-24 16:23:05 -04:00
|
|
|
":mesh_service_example",
|
2026-03-12 16:14:49 -05:00
|
|
|
":desktop",
|
2025-09-24 16:23:05 -04:00
|
|
|
)
|
2025-09-15 05:47:03 -05:00
|
|
|
rootProject.name = "MeshtasticAndroid"
|
2025-06-26 00:18:59 +00:00
|
|
|
|
2025-09-17 06:46:43 -04:00
|
|
|
// https://docs.gradle.org/current/userguide/declaring_dependencies.html#sec:type-safe-project-accessors
|
|
|
|
|
enableFeaturePreview("TYPESAFE_PROJECT_ACCESSORS")
|
|
|
|
|
|
2025-08-26 17:00:32 -05:00
|
|
|
pluginManagement {
|
2025-09-15 05:47:03 -05:00
|
|
|
includeBuild("build-logic")
|
2025-08-26 17:00:32 -05:00
|
|
|
repositories {
|
|
|
|
|
google()
|
|
|
|
|
mavenCentral()
|
|
|
|
|
gradlePluginPortal()
|
|
|
|
|
maven { url = uri("https://jitpack.io") }
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@Suppress("UnstableApiUsage")
|
|
|
|
|
dependencyResolutionManagement {
|
|
|
|
|
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
|
|
|
|
|
repositories {
|
2026-03-26 13:18:03 -05:00
|
|
|
// Only enable mavenLocal for local JitPack testing; never in CI.
|
|
|
|
|
if (providers.gradleProperty("useMavenLocal").isPresent) mavenLocal()
|
2025-08-26 17:00:32 -05:00
|
|
|
google()
|
|
|
|
|
mavenCentral()
|
2026-02-01 17:18:06 -06:00
|
|
|
maven {
|
|
|
|
|
url = uri("https://jitpack.io")
|
|
|
|
|
content {
|
|
|
|
|
includeGroupByRegex("com\\.github\\..*")
|
|
|
|
|
}
|
|
|
|
|
}
|
2025-08-26 17:00:32 -05:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2025-06-26 00:18:59 +00:00
|
|
|
plugins {
|
|
|
|
|
id("org.gradle.toolchains.foojay-resolver") version "1.0.0"
|
2026-03-25 16:36:31 -05:00
|
|
|
id("com.gradle.develocity") version("4.4.0")
|
2026-04-09 12:26:15 -05:00
|
|
|
id("com.gradle.common-custom-user-data-gradle-plugin") version "2.6.0"
|
2025-06-26 00:18:59 +00:00
|
|
|
}
|
|
|
|
|
|
2026-01-30 18:42:06 -06:00
|
|
|
// Shared Develocity and Build Cache configuration
|
|
|
|
|
apply(from = "gradle/develocity.settings.gradle")
|
2025-07-07 03:46:34 +00:00
|
|
|
|
|
|
|
|
@Suppress("UnstableApiUsage")
|
2025-06-26 00:18:59 +00:00
|
|
|
toolchainManagement {
|
|
|
|
|
jvm {
|
|
|
|
|
javaRepositories {
|
|
|
|
|
repository("foojay") {
|
|
|
|
|
resolverClass.set(org.gradle.toolchains.foojay.FoojayToolchainResolver::class.java)
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-01-30 18:42:06 -06:00
|
|
|
}
|