Skip to content

Commit

Permalink
Merge pull request #4 from LinX64/refactor/updating-publish-script
Browse files Browse the repository at this point in the history
Refactoring script
  • Loading branch information
LinX64 authored Apr 4, 2024
2 parents 0594c71 + 6b3ab21 commit 30968e1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions reusablecomponents/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import com.vanniktech.maven.publish.AndroidSingleVariantLibrary

plugins {
alias(libs.plugins.android.library)
alias(libs.plugins.jetbrains.kotlin.android)
Expand Down Expand Up @@ -98,3 +100,13 @@ publishing {
}
}
}

mavenPublishing {
configure(
AndroidSingleVariantLibrary(
variant = "release",
sourcesJar = true,
publishJavadocJar = true,
)
)
}

0 comments on commit 30968e1

Please sign in to comment.