File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed
build-logic/conventions/src/main/kotlin Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,12 @@ class RollbarPublishPlugin : Plugin<Project> {
19
19
project.plugins.apply (" com.vanniktech.maven.publish" )
20
20
21
21
project.extensions.configure(MavenPublishBaseExtension ::class .java) {
22
+ coordinates(
23
+ groupId = project.findProperty(" GROUP" ) as String ,
24
+ artifactId = project.name,
25
+ version = project.findProperty(" VERSION_NAME" ) as String ,
26
+ )
27
+
22
28
pom {
23
29
name.set(project.findProperty(" POM_NAME" ) as String )
24
30
description.set(project.findProperty(" POM_DESCRIPTION" ) as String )
@@ -55,7 +61,6 @@ class RollbarPublishPlugin : Plugin<Project> {
55
61
}
56
62
57
63
publishToMavenCentral()
58
- signAllPublications()
59
64
}
60
65
}
61
66
}
Original file line number Diff line number Diff line change @@ -21,12 +21,16 @@ subprojects {
21
21
val isExample = name.contains(" examples" ) || parent?.name == " examples"
22
22
val isAndroid = name.contains(" android" )
23
23
24
- if (isExample || isAndroid ) {
24
+ if (isExample) {
25
25
return @subprojects
26
26
}
27
27
28
- apply (plugin = " java-library" )
29
28
apply (plugin = " com.rollbar.conventions.release" )
29
+ if (isAndroid) {
30
+ return @subprojects
31
+ }
32
+
33
+ apply (plugin = " java-library" )
30
34
apply (from = " $rootDir /gradle/quality.gradle" )
31
35
apply (from = " $rootDir /gradle/compatibility.gradle" )
32
36
Original file line number Diff line number Diff line change 1
1
plugins {
2
2
id(" com.android.library" )
3
- id(" com.rollbar.conventions.release" )
4
3
}
5
4
6
- // apply(from = "$rootDir/gradle/android.quality.gradle") //TODO: Update as convention plugin
5
+ apply (from = " $rootDir /gradle/android.quality.gradle" )
7
6
8
7
android {
9
8
namespace = " com.rollbar.android"
You can’t perform that action at this time.
0 commit comments