This repository was archived by the owner on May 31, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
Expand file tree Collapse file tree 1 file changed +29
-0
lines changed 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 {
78 compileSdkVersion 30
89 buildToolsVersion " 30.0.3"
910
11+ // Because the components are created only during the afterEvaluate phase, you must
12+ // configure your publications using the afterEvaluate() lifecycle method.
13+ afterEvaluate {
14+ publishing {
15+ publications {
16+ // Creates a Maven publication called "release".
17+ release(MavenPublication ) {
18+ // Applies the component for the release build variant.
19+ from components. release
20+
21+ // You can then customize attributes of the publication as shown below.
22+ groupId = ' com.jakode.verifycodeedittext'
23+ artifactId = ' final'
24+ version = ' 1.0'
25+ }
26+ // Creates a Maven publication called “debug”.
27+ debug(MavenPublication ) {
28+ // Applies the component for the debug build variant.
29+ from components. debug
30+
31+ groupId = ' com.jakode.verifycodeedittext'
32+ artifactId = ' final-debug'
33+ version = ' 1.0'
34+ }
35+ }
36+ }
37+ }
38+
1039 defaultConfig {
1140 minSdkVersion 17
1241 targetSdkVersion 30
You can’t perform that action at this time.
0 commit comments