Skip to content

Commit 834571e

Browse files
Merge branch 'staging' into user_props_on_sessions
2 parents 1924def + d7b3fe6 commit 834571e

File tree

3 files changed

+26
-32
lines changed

3 files changed

+26
-32
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
## XX.XX.XX
1+
## 24.1.4
2+
23
* Updated user properties caching mechanism according to sessions.
4+
* Cleaned up unused gradle dependencies from root build.gradle.
35

46
## 24.1.3
57

68
* Extended minimum JDK support to 8.
79

810
## 24.1.2
11+
912
* !! Major Breaking Change !! Minimum JDK support is 19 for this minor.
1013

1114
* Migrated from Sonatype OSSRH.
@@ -217,3 +220,4 @@
217220

218221
* initial SDK release
219222
* MavenCentral rerelease
223+

build.gradle

Lines changed: 13 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,21 @@
11
// Top-level build file where you can add configuration options common to all sub-projects/modules.
22

33
buildscript {
4-
repositories {
5-
google()
6-
mavenCentral()
7-
jcenter()
8-
maven {
9-
url "https://maven.google.com"
10-
}
11-
}
12-
dependencies {
13-
classpath 'com.android.tools.build:gradle:8.1.4'
14-
classpath 'com.github.dcendents:android-maven-plugin:1.2'
15-
classpath 'com.google.gms:google-services:4.4.2'
16-
17-
// NOTE: Do not place your application dependencies here; they belong
18-
// in the individual module build.gradle files
19-
}
4+
repositories {
5+
google()
6+
mavenCentral()
7+
}
208
}
219

2210
allprojects {
23-
ext.CLY_VERSION = "24.1.3"
24-
ext.POWERMOCK_VERSION = "1.7.4"
11+
ext.CLY_VERSION = "24.1.3"
12+
ext.POWERMOCK_VERSION = "1.7.4"
2513

26-
tasks.withType(Javadoc) {
27-
options.addStringOption('Xdoclint:none', '-quiet')
28-
}
29-
repositories {
30-
google()
31-
jcenter()
32-
//mavenLocal()
33-
maven {
34-
url "https://maven.google.com" // Google's Maven repository
35-
}
36-
}
14+
tasks.withType(Javadoc) {
15+
options.addStringOption('Xdoclint:none', '-quiet')
16+
}
17+
repositories {
18+
google()
19+
mavenCentral()
20+
}
3721
}

sdk-java/build.gradle

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,11 @@ buildscript {
88
//mavenLocal()
99
}
1010
dependencies {
11-
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.28.0' //for publishing
11+
// Load publish plugin ONLY when publish task is requested
12+
if (gradle.startParameter.taskNames.any { it.toLowerCase().contains("publish") }) {
13+
// This requires minimum java 11 to work
14+
classpath 'com.vanniktech:gradle-maven-publish-plugin:0.28.0'
15+
}
1216
}
1317
}
1418

@@ -28,4 +32,6 @@ dependencies {
2832
//testImplementation 'com.squareup.okhttp3:mockwebserver:3.7.0'
2933
}
3034

31-
apply plugin: "com.vanniktech.maven.publish"
35+
if (gradle.startParameter.taskNames.any { it.toLowerCase().contains("publish") }) {
36+
apply plugin: "com.vanniktech.maven.publish"
37+
}

0 commit comments

Comments
 (0)