Commit b17209d 1 parent 6a567e9 commit b17209d Copy full SHA for b17209d
File tree 1 file changed +14
-6
lines changed
1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change
1
+ import com.android.build.gradle.internal.component.ComponentCreationConfig
2
+ import com.android.build.gradle.internal.scope.publishBuildArtifacts
1
3
import com.android.build.gradle.internal.tasks.factory.dependsOn
4
+ import com.android.build.gradle.internal.utils.createPublishingInfoForLibrary
2
5
import com.android.ddmlib.Log
3
6
import com.vanniktech.maven.publish.SonatypeHost
4
7
import java.net.URI
@@ -11,6 +14,13 @@ plugins {
11
14
// signing
12
15
}
13
16
17
+ val ver = " 0.1.0"
18
+ val id = " amuze"
19
+ val grp = " com.infbyte"
20
+
21
+ group = grp
22
+ version = ver
23
+
14
24
android {
15
25
namespace = " com.infbyte.amuze"
16
26
compileSdk = 34
@@ -70,9 +80,6 @@ dependencies {
70
80
71
81
}
72
82
73
- val ver = " 0.1.0"
74
- val id = " amuze"
75
-
76
83
/* publishing {
77
84
publications {
78
85
create<MavenPublication>("release") {
@@ -100,19 +107,20 @@ val id = "amuze"
100
107
101
108
mavenPublishing {
102
109
103
- coordinates(" com.infbyte " , id, ver)
110
+ coordinates(grp , id, ver)
104
111
105
112
publishToMavenCentral(SonatypeHost .CENTRAL_PORTAL , automaticRelease = true )
106
113
107
114
signAllPublications()
108
115
109
- this .
110
-
111
116
pom {
112
117
name.set(" Amuze" )
113
118
description.set(" Common functionality for media apps" )
114
119
inceptionYear.set(" 2024" )
115
120
url.set(" https://github.com/shubertm/amuze" )
121
+
122
+ packaging = " aar"
123
+
116
124
licenses {
117
125
license {
118
126
name.set(" MIT License" )
You can’t perform that action at this time.
0 commit comments