Skip to content

Commit 01da97c

Browse files
authored
Merge pull request #942 from wordpress-mobile/update-publish-to-s3-plugin-to-0.7.0
Updates publish-to-s3 plugin to 0.7.0 and publishes '-sources.jar'
2 parents 4d1f327 + d6a4a2c commit 01da97c

File tree

7 files changed

+7
-26
lines changed

7 files changed

+7
-26
lines changed

aztec/build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,13 +83,9 @@ project.afterEvaluate {
8383

8484
groupId "org.wordpress"
8585
artifactId "aztec"
86+
artifact tasks.named("androidSourcesJar")
8687
// version is set by 'publish-to-s3' plugin
8788
}
8889
}
8990
}
9091
}
91-
92-
publishToS3Plugin {
93-
mavenPublishGroupId "org.wordpress"
94-
mavenPublishArtifactId "aztec"
95-
}

build.gradle

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
id "com.android.application" apply false
33
id "org.jetbrains.kotlin.android" apply false
4+
id "com.automattic.android.publish-to-s3" apply false
45
}
56

67
allprojects {

glide-loader/build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,9 @@ project.afterEvaluate {
3838

3939
groupId "org.wordpress.aztec"
4040
artifactId "glide-loader"
41+
artifact tasks.named("androidSourcesJar")
4142
// version is set by 'publish-to-s3' plugin
4243
}
4344
}
4445
}
4546
}
46-
47-
publishToS3Plugin {
48-
mavenPublishGroupId "org.wordpress.aztec"
49-
mavenPublishArtifactId "glide-loader"
50-
}

picasso-loader/build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,9 @@ project.afterEvaluate {
4141

4242
groupId "org.wordpress.aztec"
4343
artifactId "picasso-loader"
44+
artifact tasks.named("androidSourcesJar")
4445
// version is set by 'publish-to-s3' plugin
4546
}
4647
}
4748
}
4849
}
49-
50-
publishToS3Plugin {
51-
mavenPublishGroupId "org.wordpress.aztec"
52-
mavenPublishArtifactId "picasso-loader"
53-
}

settings.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ pluginManagement {
66
id "com.android.library" version gradle.ext.agpVersion
77
id "com.android.application" version gradle.ext.agpVersion
88
id "org.jetbrains.kotlin.android" version gradle.ext.kotlinVersion
9-
id "com.automattic.android.publish-to-s3" version "0.6.1"
9+
id "com.automattic.android.publish-to-s3" version "0.7.0"
1010
}
1111
repositories {
1212
maven {

wordpress-comments/build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,9 @@ project.afterEvaluate {
5555

5656
groupId "org.wordpress.aztec"
5757
artifactId "wordpress-comments"
58+
artifact tasks.named("androidSourcesJar")
5859
// version is set by 'publish-to-s3' plugin
5960
}
6061
}
6162
}
6263
}
63-
64-
publishToS3Plugin {
65-
mavenPublishGroupId "org.wordpress.aztec"
66-
mavenPublishArtifactId "wordpress-comments"
67-
}

wordpress-shortcodes/build.gradle

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,9 @@ project.afterEvaluate {
5252

5353
groupId "org.wordpress.aztec"
5454
artifactId "wordpress-shortcodes"
55+
artifact tasks.named("androidSourcesJar")
5556
// version is set by 'publish-to-s3' plugin
5657
}
5758
}
5859
}
5960
}
60-
61-
publishToS3Plugin {
62-
mavenPublishGroupId "org.wordpress.aztec"
63-
mavenPublishArtifactId "wordpress-shortcodes"
64-
}

0 commit comments

Comments
 (0)