diff --git a/.gitignore b/.gitignore index e749f84..ce3e166 100644 --- a/.gitignore +++ b/.gitignore @@ -35,11 +35,14 @@ proguard/ # Android Studio captures folder captures/ -# IntelliJ +# IDE files *.iml .idea/ *.ipr *.iws +.project +.classpath +.settings/ # Keystore files *.jks diff --git a/CHANGELOG.md b/CHANGELOG.md index 9b3424d..2111066 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 0.2.0 (unreleased) +## 0.2.0 (2026-02-27) - **Breaking:** `collectAndSend()` now returns `Result` instead of `Result`. The `TrackingResult` contains a `trackingToken` property diff --git a/README.md b/README.md index 8c7c577..31039d3 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ Add the dependency to your app's `build.gradle.kts`: ```kotlin dependencies { - implementation("com.maxmind.device:device-sdk:0.1.0") + implementation("com.maxmind.device:device-sdk:0.2.0") } ``` @@ -24,7 +24,7 @@ dependencies { ```groovy dependencies { - implementation 'com.maxmind.device:device-sdk:0.1.0' + implementation 'com.maxmind.device:device-sdk:0.2.0' } ``` diff --git a/build.gradle.kts b/build.gradle.kts index c1f449a..3cd1ced 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -12,7 +12,7 @@ plugins { allprojects { group = "com.maxmind.device" - version = "0.1.0" + version = "0.2.0" } tasks.register("clean", Delete::class) { diff --git a/device-sdk/build.gradle.kts b/device-sdk/build.gradle.kts index e2d72f8..87f4d9b 100644 --- a/device-sdk/build.gradle.kts +++ b/device-sdk/build.gradle.kts @@ -10,7 +10,7 @@ plugins { alias(libs.plugins.maven.publish) signing id("tech.apter.junit5.jupiter.robolectric-extension-gradle-plugin") version "0.9.0" - id("me.champeau.gradle.japicmp") version "0.4.5" + id("me.champeau.gradle.japicmp") version "0.4.6" } android { @@ -126,7 +126,7 @@ val hasMavenCentralCredentials = mavenCentralUsername.isNotEmpty() mavenPublishing { if (hasMavenCentralCredentials) { - publishToMavenCentral(com.vanniktech.maven.publish.SonatypeHost.CENTRAL_PORTAL, automaticRelease = true) + publishToMavenCentral(automaticRelease = true) } signAllPublications() @@ -175,7 +175,7 @@ signing { // API compatibility checking with japicmp // Compares the current build against the latest released version on Maven Central // Update this version after each release (the release script should do this automatically) -val baselineVersion = "0.1.0" +val baselineVersion = "0.2.0" // Download baseline AAR directly from Maven Central to avoid local project resolution val downloadBaselineAar by tasks.registering { diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 017210f..04bce54 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -7,16 +7,16 @@ compileSdk = "36" # Core dependencies kotlin = "2.2.21" coroutines = "1.10.2" -serialization = "1.9.0" +serialization = "1.10.0" # Android androidGradlePlugin = "8.13.1" androidxCore = "1.17.0" -androidxAppCompat = "1.7.0" +androidxAppCompat = "1.7.1" androidxLifecycle = "2.10.0" # Networking -ktor = "3.3.3" +ktor = "3.4.0" # Code quality detekt = "1.23.8" @@ -29,18 +29,18 @@ dokka = "2.1.0" junit = "4.13.2" junitJupiter = "6.0.1" junitPlatform = "6.0.1" -mockk = "1.14.6" -androidxTestCore = "1.6.0" +mockk = "1.14.9" +androidxTestCore = "1.7.0" androidxTestRunner = "1.7.0" -androidxTestJunit = "1.2.0" -robolectric = "4.16" +androidxTestJunit = "1.3.0" +robolectric = "4.16.1" turbine = "1.2.1" # Material (for sample app) material = "1.12.0" # Publishing -mavenPublish = "0.30.0" +mavenPublish = "0.36.0" dependencyUpdates = "0.53.0" [libraries] diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 23449a2..37f78a6 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-9.2.1-bin.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-9.3.1-bin.zip networkTimeout=10000 validateDistributionUrl=true zipStoreBase=GRADLE_USER_HOME