mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
build: Configure JitPack publishing for core modules (#4366)
This commit is contained in:
parent
0bea76edb9
commit
8f979521d7
4 changed files with 7 additions and 6 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue