Skip to content

Commit eb69b92

Browse files
committed
updated android.libary version, updated AGP, updated publish-to-s3 library version
1 parent e0e235a commit eb69b92

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

Simperium/build.gradle

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ plugins {
66

77
repositories {
88
google()
9-
jcenter()
9+
mavenCentral()
1010
}
1111

1212
android {
13-
namespace 'com.simperium'
13+
namespace = 'com.simperium'
1414
compileSdkVersion 36
1515

1616
defaultConfig {
@@ -22,7 +22,9 @@ android {
2222
buildConfigField 'String', 'SIMPERIUM_COM_SPKI', '"e25695097d04927c9d90206333a687a7b1f99708"'
2323
}
2424

25-
defaultPublishConfig 'clientRelease'
25+
buildFeatures {
26+
buildConfig = true
27+
}
2628

2729
dependencies {
2830
androidTestImplementation 'androidx.test:core:1.7.0'
@@ -59,7 +61,7 @@ tasks.withType(Javadoc) {
5961
options.addStringOption('encoding', 'UTF-8')
6062
}
6163

62-
afterEvaluate {
64+
project.afterEvaluate {
6365
publishing {
6466
publications {
6567
release(MavenPublication) {
@@ -72,9 +74,12 @@ afterEvaluate {
7274
}
7375
}
7476

75-
publishToS3Plugin {
76-
mavenPublishGroupId "com.automattic"
77-
mavenPublishArtifactId "simperium"
77+
android {
78+
publishing {
79+
singleVariant("clientRelease") {
80+
withSourcesJar()
81+
}
82+
}
7883
}
7984

8085
task versionConfig(group: "build", description: "Generate version class") {
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
#Wed Aug 06 09:56:31 CEST 2025
12
distributionBase=GRADLE_USER_HOME
23
distributionPath=wrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.1.1-all.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-all.zip
45
zipStoreBase=GRADLE_USER_HOME
56
zipStorePath=wrapper/dists

settings.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pluginManagement {
22
plugins {
3-
id("com.android.library") version "4.2.2"
4-
id("com.automattic.android.publish-to-s3") version "0.6.1"
3+
id("com.android.library") version "8.11.1"
4+
id("com.automattic.android.publish-to-s3") version "0.10.0"
55
}
66
repositories {
77
maven {

0 commit comments

Comments
 (0)