Skip to content

Commit 2707fc5

Browse files
committed
see if this fixes s3 publishing, doing exactly as per the documentation as a test
1 parent eb69b92 commit 2707fc5

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

Simperium/build.gradle

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,6 @@ android {
3737
implementation 'org.thoughtcrime.ssl.pinning:AndroidPinning:1.0.0'
3838
}
3939

40-
flavorDimensions "main"
41-
42-
productFlavors {
43-
// client is the main production build
44-
client {
45-
dimension "main"
46-
}
47-
48-
// support build is for running tests and includes mock code
49-
support {
50-
dimension "main"
51-
}
52-
}
53-
5440
useLibrary 'android.test.base'
5541
useLibrary 'android.test.runner'
5642
useLibrary 'org.apache.http.legacy'
@@ -65,7 +51,7 @@ project.afterEvaluate {
6551
publishing {
6652
publications {
6753
release(MavenPublication) {
68-
from components.clientRelease
54+
from components.release
6955
groupId "com.automattic"
7056
artifactId "simperium"
7157
// version is set by 'publish-to-s3' plugin
@@ -74,14 +60,6 @@ project.afterEvaluate {
7460
}
7561
}
7662

77-
android {
78-
publishing {
79-
singleVariant("clientRelease") {
80-
withSourcesJar()
81-
}
82-
}
83-
}
84-
8563
task versionConfig(group: "build", description: "Generate version class") {
8664
def dir = "${buildDir}/generated/source/version"
8765
def file = new File(dir, "com/simperium/Version.java")

0 commit comments

Comments
 (0)