Skip to content

Commit 475753e

Browse files
committed
refactor
1 parent 2aa7ab5 commit 475753e

File tree

23 files changed

+0
-276
lines changed

23 files changed

+0
-276
lines changed

pluto-plugins/base/lib/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -59,48 +59,36 @@ extra["PUBLISH_ARTIFACT_NAME"] = "Android Pluto Base Plugin Module"
5959
extra["PUBLISH_ARTIFACT_DESCRIPTION"] = "Open Sourced, on-device debugger for Android apps"
6060

6161
mavenPublishing {
62-
// Define coordinates for the published artifact
6362
coordinates(
6463
groupId = extra["PUBLISH_GROUP_ID"] as String,
6564
artifactId = extra["PUBLISH_ARTIFACT_ID"] as String,
6665
version = verPublish
6766
)
68-
69-
// Configure POM metadata for the published artifact
7067
pom {
7168
name.set(extra["PUBLISH_ARTIFACT_NAME"] as String)
7269
description.set(extra["PUBLISH_ARTIFACT_DESCRIPTION"] as String)
7370
inceptionYear.set(project.findProperty("pom.inceptionYear") as? String)
7471
url.set(project.findProperty("pom.url") as? String)
75-
7672
licenses {
7773
license {
7874
name.set(project.findProperty("pom.license.name") as? String)
7975
url.set(project.findProperty("pom.license.url") as? String)
8076
}
8177
}
82-
83-
// Specify developers information
8478
developers {
8579
developer {
8680
id.set(project.findProperty("pom.developer.id") as? String)
8781
name.set(project.findProperty("pom.developer.name") as? String)
8882
email.set(project.findProperty("pom.developer.email") as? String)
8983
}
9084
}
91-
92-
// Specify SCM information
9385
scm {
9486
connection.set(project.findProperty("pom.scm.connection") as? String)
9587
developerConnection.set(project.findProperty("pom.scm.developerConnection") as? String)
9688
url.set(project.findProperty("pom.scm.url") as? String)
9789
}
9890
}
99-
100-
// Configure publishing to Maven Central
10191
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
102-
103-
// Enable GPG signing for all publications
10492
signAllPublications()
10593
}
10694

pluto-plugins/bundle/lib-no-op/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,48 +54,36 @@ extra["PUBLISH_ARTIFACT_NAME"] = "Android Pluto Plugin Bundle"
5454
extra["PUBLISH_ARTIFACT_DESCRIPTION"] = "Bundle module for Android Pluto plugins"
5555

5656
mavenPublishing {
57-
// Define coordinates for the published artifact
5857
coordinates(
5958
groupId = extra["PUBLISH_GROUP_ID"] as String,
6059
artifactId = extra["PUBLISH_ARTIFACT_ID"] as String,
6160
version = verPublish
6261
)
63-
64-
// Configure POM metadata for the published artifact
6562
pom {
6663
name.set(extra["PUBLISH_ARTIFACT_NAME"] as String)
6764
description.set(extra["PUBLISH_ARTIFACT_DESCRIPTION"] as String)
6865
inceptionYear.set(project.findProperty("pom.inceptionYear") as? String)
6966
url.set(project.findProperty("pom.url") as? String)
70-
7167
licenses {
7268
license {
7369
name.set(project.findProperty("pom.license.name") as? String)
7470
url.set(project.findProperty("pom.license.url") as? String)
7571
}
7672
}
77-
78-
// Specify developers information
7973
developers {
8074
developer {
8175
id.set(project.findProperty("pom.developer.id") as? String)
8276
name.set(project.findProperty("pom.developer.name") as? String)
8377
email.set(project.findProperty("pom.developer.email") as? String)
8478
}
8579
}
86-
87-
// Specify SCM information
8880
scm {
8981
connection.set(project.findProperty("pom.scm.connection") as? String)
9082
developerConnection.set(project.findProperty("pom.scm.developerConnection") as? String)
9183
url.set(project.findProperty("pom.scm.url") as? String)
9284
}
9385
}
94-
95-
// Configure publishing to Maven Central
9686
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
97-
98-
// Enable GPG signing for all publications
9987
signAllPublications()
10088
}
10189

pluto-plugins/bundle/lib/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,48 +54,36 @@ extra["PUBLISH_ARTIFACT_NAME"] = "Android Pluto Plugin Bundle"
5454
extra["PUBLISH_ARTIFACT_DESCRIPTION"] = "Bundle module for Android Pluto plugins"
5555

5656
mavenPublishing {
57-
// Define coordinates for the published artifact
5857
coordinates(
5958
groupId = extra["PUBLISH_GROUP_ID"] as String,
6059
artifactId = extra["PUBLISH_ARTIFACT_ID"] as String,
6160
version = verPublish
6261
)
63-
64-
// Configure POM metadata for the published artifact
6562
pom {
6663
name.set(extra["PUBLISH_ARTIFACT_NAME"] as String)
6764
description.set(extra["PUBLISH_ARTIFACT_DESCRIPTION"] as String)
6865
inceptionYear.set(project.findProperty("pom.inceptionYear") as? String)
6966
url.set(project.findProperty("pom.url") as? String)
70-
7167
licenses {
7268
license {
7369
name.set(project.findProperty("pom.license.name") as? String)
7470
url.set(project.findProperty("pom.license.url") as? String)
7571
}
7672
}
77-
78-
// Specify developers information
7973
developers {
8074
developer {
8175
id.set(project.findProperty("pom.developer.id") as? String)
8276
name.set(project.findProperty("pom.developer.name") as? String)
8377
email.set(project.findProperty("pom.developer.email") as? String)
8478
}
8579
}
86-
87-
// Specify SCM information
8880
scm {
8981
connection.set(project.findProperty("pom.scm.connection") as? String)
9082
developerConnection.set(project.findProperty("pom.scm.developerConnection") as? String)
9183
url.set(project.findProperty("pom.scm.url") as? String)
9284
}
9385
}
94-
95-
// Configure publishing to Maven Central
9686
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
97-
98-
// Enable GPG signing for all publications
9987
signAllPublications()
10088
}
10189

pluto-plugins/plugins/datastore/lib-no-op/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,48 +54,36 @@ extra["PUBLISH_ARTIFACT_NAME"] = "Android Pluto Datastore Preferences Plugin"
5454
extra["PUBLISH_ARTIFACT_DESCRIPTION"] = "Plugin to manage Datastore preferences in Android Pluto"
5555

5656
mavenPublishing {
57-
// Define coordinates for the published artifact
5857
coordinates(
5958
groupId = extra["PUBLISH_GROUP_ID"] as String,
6059
artifactId = extra["PUBLISH_ARTIFACT_ID"] as String,
6160
version = verPublish
6261
)
63-
64-
// Configure POM metadata for the published artifact
6562
pom {
6663
name.set(extra["PUBLISH_ARTIFACT_NAME"] as String)
6764
description.set(extra["PUBLISH_ARTIFACT_DESCRIPTION"] as String)
6865
inceptionYear.set(project.findProperty("pom.inceptionYear") as? String)
6966
url.set(project.findProperty("pom.url") as? String)
70-
7167
licenses {
7268
license {
7369
name.set(project.findProperty("pom.license.name") as? String)
7470
url.set(project.findProperty("pom.license.url") as? String)
7571
}
7672
}
77-
78-
// Specify developers information
7973
developers {
8074
developer {
8175
id.set(project.findProperty("pom.developer.id") as? String)
8276
name.set(project.findProperty("pom.developer.name") as? String)
8377
email.set(project.findProperty("pom.developer.email") as? String)
8478
}
8579
}
86-
87-
// Specify SCM information
8880
scm {
8981
connection.set(project.findProperty("pom.scm.connection") as? String)
9082
developerConnection.set(project.findProperty("pom.scm.developerConnection") as? String)
9183
url.set(project.findProperty("pom.scm.url") as? String)
9284
}
9385
}
94-
95-
// Configure publishing to Maven Central
9686
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
97-
98-
// Enable GPG signing for all publications
9987
signAllPublications()
10088
}
10189

pluto-plugins/plugins/datastore/lib/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,48 +65,36 @@ extra["PUBLISH_ARTIFACT_NAME"] = "Android Pluto Datastore Preferences Plugin"
6565
extra["PUBLISH_ARTIFACT_DESCRIPTION"] = "Plugin to manage Datastore preferences in Android Pluto"
6666

6767
mavenPublishing {
68-
// Define coordinates for the published artifact
6968
coordinates(
7069
groupId = extra["PUBLISH_GROUP_ID"] as String,
7170
artifactId = extra["PUBLISH_ARTIFACT_ID"] as String,
7271
version = verPublish
7372
)
74-
75-
// Configure POM metadata for the published artifact
7673
pom {
7774
name.set(extra["PUBLISH_ARTIFACT_NAME"] as String)
7875
description.set(extra["PUBLISH_ARTIFACT_DESCRIPTION"] as String)
7976
inceptionYear.set(project.findProperty("pom.inceptionYear") as? String)
8077
url.set(project.findProperty("pom.url") as? String)
81-
8278
licenses {
8379
license {
8480
name.set(project.findProperty("pom.license.name") as? String)
8581
url.set(project.findProperty("pom.license.url") as? String)
8682
}
8783
}
88-
89-
// Specify developers information
9084
developers {
9185
developer {
9286
id.set(project.findProperty("pom.developer.id") as? String)
9387
name.set(project.findProperty("pom.developer.name") as? String)
9488
email.set(project.findProperty("pom.developer.email") as? String)
9589
}
9690
}
97-
98-
// Specify SCM information
9991
scm {
10092
connection.set(project.findProperty("pom.scm.connection") as? String)
10193
developerConnection.set(project.findProperty("pom.scm.developerConnection") as? String)
10294
url.set(project.findProperty("pom.scm.url") as? String)
10395
}
10496
}
105-
106-
// Configure publishing to Maven Central
10797
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
108-
109-
// Enable GPG signing for all publications
11098
signAllPublications()
11199
}
112100

pluto-plugins/plugins/exceptions/lib-no-op/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,48 +54,36 @@ extra["PUBLISH_ARTIFACT_NAME"] = "Android Pluto Exceptions Plugin"
5454
extra["PUBLISH_ARTIFACT_DESCRIPTION"] = "Plugin to capture expections & ANRs in Android Pluto"
5555

5656
mavenPublishing {
57-
// Define coordinates for the published artifact
5857
coordinates(
5958
groupId = extra["PUBLISH_GROUP_ID"] as String,
6059
artifactId = extra["PUBLISH_ARTIFACT_ID"] as String,
6160
version = verPublish
6261
)
63-
64-
// Configure POM metadata for the published artifact
6562
pom {
6663
name.set(extra["PUBLISH_ARTIFACT_NAME"] as String)
6764
description.set(extra["PUBLISH_ARTIFACT_DESCRIPTION"] as String)
6865
inceptionYear.set(project.findProperty("pom.inceptionYear") as? String)
6966
url.set(project.findProperty("pom.url") as? String)
70-
7167
licenses {
7268
license {
7369
name.set(project.findProperty("pom.license.name") as? String)
7470
url.set(project.findProperty("pom.license.url") as? String)
7571
}
7672
}
77-
78-
// Specify developers information
7973
developers {
8074
developer {
8175
id.set(project.findProperty("pom.developer.id") as? String)
8276
name.set(project.findProperty("pom.developer.name") as? String)
8377
email.set(project.findProperty("pom.developer.email") as? String)
8478
}
8579
}
86-
87-
// Specify SCM information
8880
scm {
8981
connection.set(project.findProperty("pom.scm.connection") as? String)
9082
developerConnection.set(project.findProperty("pom.scm.developerConnection") as? String)
9183
url.set(project.findProperty("pom.scm.url") as? String)
9284
}
9385
}
94-
95-
// Configure publishing to Maven Central
9686
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
97-
98-
// Enable GPG signing for all publications
9987
signAllPublications()
10088
}
10189

pluto-plugins/plugins/exceptions/lib/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -62,48 +62,36 @@ extra["PUBLISH_ARTIFACT_NAME"] = "Android Pluto Exceptions Plugin"
6262
extra["PUBLISH_ARTIFACT_DESCRIPTION"] = "Plugin to capture expections & ANRs in Android Pluto"
6363

6464
mavenPublishing {
65-
// Define coordinates for the published artifact
6665
coordinates(
6766
groupId = extra["PUBLISH_GROUP_ID"] as String,
6867
artifactId = extra["PUBLISH_ARTIFACT_ID"] as String,
6968
version = verPublish
7069
)
71-
72-
// Configure POM metadata for the published artifact
7370
pom {
7471
name.set(extra["PUBLISH_ARTIFACT_NAME"] as String)
7572
description.set(extra["PUBLISH_ARTIFACT_DESCRIPTION"] as String)
7673
inceptionYear.set(project.findProperty("pom.inceptionYear") as? String)
7774
url.set(project.findProperty("pom.url") as? String)
78-
7975
licenses {
8076
license {
8177
name.set(project.findProperty("pom.license.name") as? String)
8278
url.set(project.findProperty("pom.license.url") as? String)
8379
}
8480
}
85-
86-
// Specify developers information
8781
developers {
8882
developer {
8983
id.set(project.findProperty("pom.developer.id") as? String)
9084
name.set(project.findProperty("pom.developer.name") as? String)
9185
email.set(project.findProperty("pom.developer.email") as? String)
9286
}
9387
}
94-
95-
// Specify SCM information
9688
scm {
9789
connection.set(project.findProperty("pom.scm.connection") as? String)
9890
developerConnection.set(project.findProperty("pom.scm.developerConnection") as? String)
9991
url.set(project.findProperty("pom.scm.url") as? String)
10092
}
10193
}
102-
103-
// Configure publishing to Maven Central
10494
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
105-
106-
// Enable GPG signing for all publications
10795
signAllPublications()
10896
}
10997

pluto-plugins/plugins/layout-inspector/lib-no-op/build.gradle.kts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -54,48 +54,36 @@ extra["PUBLISH_ARTIFACT_NAME"] = "Android Pluto Layout inspector Plugin"
5454
extra["PUBLISH_ARTIFACT_DESCRIPTION"] = "Plugin to modify screen layout in Android Pluto"
5555

5656
mavenPublishing {
57-
// Define coordinates for the published artifact
5857
coordinates(
5958
groupId = extra["PUBLISH_GROUP_ID"] as String,
6059
artifactId = extra["PUBLISH_ARTIFACT_ID"] as String,
6160
version = verPublish
6261
)
63-
64-
// Configure POM metadata for the published artifact
6562
pom {
6663
name.set(extra["PUBLISH_ARTIFACT_NAME"] as String)
6764
description.set(extra["PUBLISH_ARTIFACT_DESCRIPTION"] as String)
6865
inceptionYear.set(project.findProperty("pom.inceptionYear") as? String)
6966
url.set(project.findProperty("pom.url") as? String)
70-
7167
licenses {
7268
license {
7369
name.set(project.findProperty("pom.license.name") as? String)
7470
url.set(project.findProperty("pom.license.url") as? String)
7571
}
7672
}
77-
78-
// Specify developers information
7973
developers {
8074
developer {
8175
id.set(project.findProperty("pom.developer.id") as? String)
8276
name.set(project.findProperty("pom.developer.name") as? String)
8377
email.set(project.findProperty("pom.developer.email") as? String)
8478
}
8579
}
86-
87-
// Specify SCM information
8880
scm {
8981
connection.set(project.findProperty("pom.scm.connection") as? String)
9082
developerConnection.set(project.findProperty("pom.scm.developerConnection") as? String)
9183
url.set(project.findProperty("pom.scm.url") as? String)
9284
}
9385
}
94-
95-
// Configure publishing to Maven Central
9686
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
97-
98-
// Enable GPG signing for all publications
9987
signAllPublications()
10088
}
10189

0 commit comments

Comments
 (0)