File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
LazyVerticalTitleGridLibrary Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id ' com.android.library'
33 id ' org.jetbrains.kotlin.android'
4+ id ' kotlin-android'
5+ id ' kotlin-kapt'
6+ id ' maven-publish'
47}
58
69android {
@@ -50,4 +53,27 @@ dependencies {
5053 implementation " androidx.compose.ui:ui-tooling-preview:$compose_version "
5154 androidTestImplementation " androidx.compose.ui:ui-test-junit4:$compose_version "
5255 debugImplementation " androidx.compose.ui:ui-tooling:$compose_version "
56+ }
57+
58+ afterEvaluate {
59+ publishing {
60+ publications {
61+ release(MavenPublication ) {
62+ // The following applies a component to this publication
63+ // which results in publishing an app bundle.
64+ from components. release
65+
66+ groupId = ' com.olivia.lazyverticaltitlegridlibrary.library'
67+ version = ' 1.0.0'
68+ }
69+ debug(MavenPublication ) {
70+ // The following applies a component to this publication
71+ // which results in publishing APKs in a ZIP file.
72+ from components. debug
73+
74+ groupId = ' com.olivia.lazyverticaltitlegridlibrary.library'
75+ version = ' 1.0.0'
76+ }
77+ }
78+ }
5379}
You can’t perform that action at this time.
0 commit comments