Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Commit

Permalink
Add missing task for publishMobileLocal & publishMobileRepo for korge…
Browse files Browse the repository at this point in the history
…-gradle-plugin (#471)
  • Loading branch information
soywiz-invideo authored Mar 9, 2022
1 parent 6ad1cef commit fb8f7b9
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -964,11 +964,17 @@ subprojects {
}
}
val publishMobileLocal by creating(Task::class) {
run {
val taskName = "publishJvmPublicationToMavenLocal"
if (findByName(taskName) != null) {
dependsOn(taskName)
}
}
if (findByName(publishKotlinMultiplatformPublicationToMavenLocal) != null) {
dependsOn(publishKotlinMultiplatformPublicationToMavenLocal)
dependsOn("publishJvmPublicationToMavenLocal")
dependsOn("publishAndroidPublicationToMavenLocal")
dependsOn("publishIosArm64PublicationToMavenLocal")
dependsOn("publishIosX64PublicationToMavenRepository")
}
}

Expand All @@ -987,9 +993,14 @@ subprojects {
}
}
if (customPublishEnabled) {
run {
val taskName = "publishJvmPublicationToMavenRepository"
if (findByName(taskName) != null) {
dependsOn(taskName)
}
}
if (findByName(publishKotlinMultiplatformPublicationToMavenRepository) != null) {
dependsOn(publishKotlinMultiplatformPublicationToMavenRepository)
dependsOn("publishJvmPublicationToMavenRepository")
dependsOn("publishAndroidPublicationToMavenRepository")
dependsOn("publishIosArm64PublicationToMavenRepository")
dependsOn("publishIosX64PublicationToMavenRepository")
Expand Down

5 comments on commit fb8f7b9

@Abrdjalw
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

``

@Abrdjalw
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Abrdjalw
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Abrdjalw
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Abrdjalw
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

``

Please sign in to comment.