build: Configure JitPack publishing for core modules (#4366)

This commit is contained in:
James Rich 2026-01-29 15:41:27 -06:00 committed by GitHub
parent 0bea76edb9
commit 8f979521d7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 7 additions and 6 deletions

View file

@ -34,7 +34,6 @@ class AndroidLibraryConventionPlugin : Plugin<Project> {
apply(plugin = "meshtastic.spotless")
apply(plugin = "meshtastic.dokka")
apply(plugin = "meshtastic.kover")
apply(plugin = "maven-publish")
extensions.configure<LibraryExtension> {
configureKotlinAndroid(this)

View file

@ -32,7 +32,6 @@ class KmpLibraryConventionPlugin : Plugin<Project> {
apply(plugin = "meshtastic.spotless")
apply(plugin = "meshtastic.dokka")
apply(plugin = "meshtastic.kover")
apply(plugin = "maven-publish")
configureKotlinMultiplatform()
}

View file

@ -3,4 +3,5 @@ jdk:
before_install:
- ./gradlew :core:proto:generateGoogleReleaseProto
install:
- ./gradlew publishToMavenLocal -Pgoogle
- ./gradlew :core:api:publishToMavenLocal :core:model:publishToMavenLocal :core:proto:publishToMavenLocal -Pgoogle
group: org.meshtastic

View file

@ -36,10 +36,12 @@ configure<ApplicationExtension> {
testOptions { unitTests.isReturnDefaultValues = true }
}
val meshtasticVersion = "main-SNAPSHOT"
dependencies {
implementation(projects.core.api)
implementation(projects.core.model)
implementation(projects.core.proto)
implementation("com.github.meshtastic.Meshtastic-Android:core-api:$meshtasticVersion")
implementation("com.github.meshtastic.Meshtastic-Android:core-model:$meshtasticVersion")
implementation("com.github.meshtastic.Meshtastic-Android:core-proto:$meshtasticVersion")
implementation(libs.androidx.activity.compose)
implementation(libs.androidx.lifecycle.viewmodel.compose)