Skip to content

Commit

Permalink
all: 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasMengelatte committed Dec 9, 2024
1 parent ab8c891 commit e46ca4a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
UPCOMING
3.0.0
-----

* Updated Batch to 2.1
* Batch requires Android min SDK level 21 or higher.
* Batch requires to compile with SDK 35 (Android 15).
* Fixed an issue where Batch would crash when a non-hierarchical URI was parsed in a deeplink.

2.0.0
Expand Down
4 changes: 2 additions & 2 deletions mixpanel-dispatcher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ android {

defaultConfig {
minSdkVersion 21
versionCode 2
versionName "2.0.0"
versionCode 3
versionName "3.0.0"

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
consumerProguardFiles 'consumer-rules.pro'
Expand Down
15 changes: 8 additions & 7 deletions mixpanel-dispatcher/maven-publish.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,24 @@ if (signingFile.exists()) {
}
}

task androidJavadocs(type: Javadoc) {
tasks.register('androidJavadocs', Javadoc) {
source = android.sourceSets.main.java.srcDirs
classpath += project.files(android.getBootClasspath().join(File.pathSeparator))
android.libraryVariants.all { variant ->
classpath += files("${android.sdkDirectory}/platforms/${android.compileSdkVersion}/android.jar")
android.libraryVariants.configureEach { variant ->
if (variant.name == 'release') {
owner.classpath += variant.getCompileClasspath()
}
}
exclude '**/R.html', '**/R.*.html', '**/index.html'
exclude '**/*.kt', '**/R.html', '**/R.*.html', '**/index.html'
}

task androidJavadocsJar(type: Jar, dependsOn: androidJavadocs) {
tasks.register('androidJavadocsJar', Jar) {
dependsOn androidJavadocs
archiveClassifier.set("javadoc")
from androidJavadocs.destinationDir
}

task androidSourcesJar(type: Jar) {
tasks.register('androidSourcesJar', Jar) {
archiveClassifier.set("sources")
from android.sourceSets.main.java.srcDirs
}
Expand Down Expand Up @@ -144,7 +145,7 @@ signing {
}

// Do not sign if we run the publishToMavenLocal task, useful for dev
tasks.withType(Sign) {
tasks.withType(Sign).configureEach {
onlyIf {
!project.gradle.startParameter.taskNames.contains('publishToMavenLocal') &&
!project.gradle.startParameter.taskNames.contains('sdk:publishToMavenLocal')
Expand Down

0 comments on commit e46ca4a

Please sign in to comment.