This repository was archived by the owner on Feb 8, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +30
-2
lines changed
Expand file tree Collapse file tree 2 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ android {
1111 minSdkVersion 21
1212 targetSdkVersion 30
1313 versionCode 1
14- versionName " 1.0"
14+ versionName " 1.0.0-beta01 "
1515
1616 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1717 consumerProguardFiles " consumer-rules.pro"
Original file line number Diff line number Diff line change 11plugins {
22 id ' com.android.library'
33 id ' kotlin-android'
4+ id ' maven-publish'
45}
56
67android {
@@ -11,7 +12,7 @@ android {
1112 minSdkVersion 21
1213 targetSdkVersion 30
1314 versionCode 1
14- versionName " 1.0"
15+ versionName " 1.0.0-beta01 "
1516
1617 testInstrumentationRunner " androidx.test.runner.AndroidJUnitRunner"
1718 consumerProguardFiles " consumer-rules.pro"
@@ -37,6 +38,33 @@ android {
3738 composeOptions {
3839 kotlinCompilerExtensionVersion compose_version
3940 }
41+
42+ afterEvaluate {
43+ publishing {
44+ publications {
45+ // Creates a Maven publication called "release".
46+ release(MavenPublication ) {
47+ // Applies the component for the release build variant.
48+ from components. release
49+
50+ // You can then customize attributes of the publication as shown below.
51+ groupId = ' com.github.rosariopfernandes'
52+ artifactId = ' firestore'
53+ version = ' 1.0.0-beta01'
54+ }
55+ // Creates a Maven publication called “debug”.
56+ debug(MavenPublication ) {
57+ // Applies the component for the debug build variant.
58+ from components. debug
59+
60+ groupId = ' com.github.rosariopfernandes'
61+ artifactId = ' firestore-debug'
62+ version = ' 1.0.0-beta01'
63+ }
64+ }
65+ }
66+
67+ }
4068}
4169
4270dependencies {
You can’t perform that action at this time.
0 commit comments