Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,7 @@ wireless-install.sh

# Git worktrees
.worktrees/
/firebase-debug.log
/firebase-debug.log

# flatpakGradleGenerator output
flatpak-sources.json
2 changes: 2 additions & 0 deletions build-logic/settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ pluginManagement {
includeGroupByRegex("com\\.github\\..*")
}
}
maven { url = uri("../offline-repository") }
}
}

Expand All @@ -50,6 +51,7 @@ dependencyResolutionManagement {
includeGroupByRegex("com\\.github\\..*")
}
}
maven { url = uri("../offline-repository") }
}
versionCatalogs {
create("libs") {
Expand Down
9 changes: 8 additions & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ plugins {
alias(libs.plugins.dokka)
alias(libs.plugins.test.retry) apply false
alias(libs.plugins.dependency.guard) apply false
alias(libs.plugins.flatpak.gradle.generator)
alias(libs.plugins.meshtastic.root)
}

Expand All @@ -51,4 +52,10 @@ plugins {

dependencies {
dokkaPlugin(libs.dokka.android.documentation.plugin)
}
}

tasks.flatpakGradleGenerator {
outputFile = file("flatpak-sources.json")
downloadDirectory = "./offline-repository"
includeConfigurations = listOf(":desktop:compileClasspath")
}
1 change: 1 addition & 0 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ room = { id = "androidx.room", version.ref = "room" }
spotless = { id = "com.diffplug.spotless", version.ref = "spotless" }
test-retry = { id = "org.gradle.test-retry", version.ref = "testRetry" }
dependency-guard = { id = "com.dropbox.dependency-guard", version.ref = "dependency-guard" }
flatpak-gradle-generator = { id = "io.github.jwharm.flatpak-gradle-generator", version = "1.7.0" }

# Meshtastic
meshtastic-analytics = { id = "meshtastic.analytics" }
Expand Down
2 changes: 2 additions & 0 deletions settings.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ pluginManagement {
mavenCentral()
gradlePluginPortal()
maven { url = uri("https://jitpack.io") }
maven { url = uri("./offline-repository") }
}
}

Expand All @@ -75,6 +76,7 @@ dependencyResolutionManagement {
includeGroupByRegex("com\\.github\\..*")
}
}
maven { url = uri("./offline-repository") }
}
}

Expand Down
Loading