File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change @@ -20,4 +20,30 @@ kotlin.code.style=official
2020# Enables namespacing of each library's R class so that its R class includes only the
2121# resources declared in the library itself and none from the library's dependencies,
2222# thereby reducing the size of the R class for that library
23- android.nonTransitiveRClass =true
23+ android.nonTransitiveRClass =true
24+
25+ # POM values
26+ GROUP =io.monstarlab
27+ POM_ARTIFACT_ID =mosaic
28+ VERSION_NAME =0.0.1-SNAPSHOT
29+
30+ POM_NAME =Mosaic
31+ POM_DESCRIPTION =A collection of UI components .
32+ POM_INCEPTION_YEAR =2024
33+ POM_URL =https://github.com/monstar-lab-oss/android-mosaic
34+
35+ POM_LICENSE_NAME =The Apache Software License, Version 2.0
36+ POM_LICENSE_URL =https://www.apache.org/licenses/LICENSE-2.0.txt
37+ POM_LICENSE_DIST =repo
38+
39+ POM_SCM_URL =scm:git@github.com:monstar-lab-oss/android-mosaic.git
40+ POM_SCM_CONNECTION =scm:git@github.com:monstar-lab-oss/android-mosaic.git
41+ POM_SCM_DEV_CONNECTION =scm:git@github.com:monstar-lab-oss/android-mosaic.git
42+
43+ POM_DEVELOPER_ID =Monstarlab
44+ POM_DEVELOPER_NAME =Monstarlab
45+ POM_DEVELOPER_EMAIL =sonatype@monstar-lab.com
46+ POM_DEVELOPER_URL =https://github.com/username/
47+
48+ mavenCentralUsername =username
49+ mavenCentralPassword =the_password
Original file line number Diff line number Diff line change 1+ import com.vanniktech.maven.publish.SonatypeHost
2+
13plugins {
24 alias(libs.plugins.android.library)
35 alias(libs.plugins.mosaic.library)
46 alias(libs.plugins.kotlin.android)
7+ alias(libs.plugins.gradle.maven.publish)
8+
59}
610
711android {
@@ -20,6 +24,12 @@ android {
2024 }
2125 }
2226}
27+ mavenPublishing{
28+ publishToMavenCentral(SonatypeHost .DEFAULT )
29+ signAllPublications()
30+ }
31+
32+
2333kotlin {
2434 jvmToolchain(17 )
2535}
You can’t perform that action at this time.
0 commit comments