diff --git a/build-logic/convention/src/main/kotlin/AndroidLibraryConventionPlugin.kt b/build-logic/convention/src/main/kotlin/AndroidLibraryConventionPlugin.kt index a1ef4078f..0ded09806 100644 --- a/build-logic/convention/src/main/kotlin/AndroidLibraryConventionPlugin.kt +++ b/build-logic/convention/src/main/kotlin/AndroidLibraryConventionPlugin.kt @@ -34,7 +34,6 @@ class AndroidLibraryConventionPlugin : Plugin { apply(plugin = "meshtastic.spotless") apply(plugin = "meshtastic.dokka") apply(plugin = "meshtastic.kover") - apply(plugin = "maven-publish") extensions.configure { configureKotlinAndroid(this) diff --git a/build-logic/convention/src/main/kotlin/KmpLibraryConventionPlugin.kt b/build-logic/convention/src/main/kotlin/KmpLibraryConventionPlugin.kt index 7162b9ae0..687f70fe7 100644 --- a/build-logic/convention/src/main/kotlin/KmpLibraryConventionPlugin.kt +++ b/build-logic/convention/src/main/kotlin/KmpLibraryConventionPlugin.kt @@ -32,7 +32,6 @@ class KmpLibraryConventionPlugin : Plugin { apply(plugin = "meshtastic.spotless") apply(plugin = "meshtastic.dokka") apply(plugin = "meshtastic.kover") - apply(plugin = "maven-publish") configureKotlinMultiplatform() } diff --git a/jitpack.yml b/jitpack.yml index 3c56a24ee..6ed1a28d4 100644 --- a/jitpack.yml +++ b/jitpack.yml @@ -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 diff --git a/mesh_service_example/build.gradle.kts b/mesh_service_example/build.gradle.kts index 8b083656a..af2a04641 100644 --- a/mesh_service_example/build.gradle.kts +++ b/mesh_service_example/build.gradle.kts @@ -36,10 +36,12 @@ configure { 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)