-
Notifications
You must be signed in to change notification settings - Fork 127
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Before opening, please confirm:
- I have searched for duplicate or closed issues and discussions.
Language and Async Model
Kotlin - Coroutines, Kotlin
Amplify Categories
Analytics
Gradle script dependencies
// Put output below this line
com.amplifyframework:aws-push-notifications-pinpoint: Version 2.29.1
Environment information
# Put output below this line
------------------------------------------------------------
Gradle 8.11.1
------------------------------------------------------------
Build time: 2024-11-20 16:56:46 UTC
Revision: 481cb05a490e0ef9f8620f7873b83bd8a72e7c39
Kotlin: 2.0.20
Groovy: 3.0.22
Ant: Apache Ant(TM) version 1.10.14 compiled on August 16 2023
Launcher JVM: 17.0.14 (Homebrew 17.0.14+0)
Daemon JVM: /opt/homebrew/Cellar/openjdk@17/17.0.14/libexec/openjdk.jdk/Contents/Home (no JDK specified, using current Java home)
OS: Mac OS X 15.5 aarch64
Please include any relevant guides or documentation you're referencing
No response
Describe the bug
aws-pinpoint-core includes androidx.test.ext:junit-ktx as a dependency in the released version of the library, which means that everyone using a library that any user of aws-pinpoint-code and libraries that depend on it, have those test extensions and junit (because the test.ext depends on it) in their classpath.
This is the relevant output of running ./gradlew :app:dependencies in my project:
```
| +--- com.amplifyframework:aws-pinpoint-core:2.29.1
| | +--- org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10 (*)
| | +--- com.amplifyframework:core:2.29.1 (*)
| | +--- androidx.appcompat:appcompat:1.2.0 -> 1.7.0 (*)
| | +--- aws.sdk.kotlin:pinpoint:1.3.81
| | | \--- aws.sdk.kotlin:pinpoint-jvm:1.3.81
| | | +--- aws.sdk.kotlin:aws-config:1.3.81 (*)
| | | +--- aws.sdk.kotlin:aws-core:1.3.81 (*)
| | | +--- aws.sdk.kotlin:aws-endpoint:1.3.81 (*)
| | | +--- aws.smithy.kotlin:http-client:1.3.23 (*)
| | | +--- aws.smithy.kotlin:runtime-core:1.3.23 (*)
| | | +--- aws.smithy.kotlin:smithy-client:1.3.23 (*)
| | | \--- aws.smithy.kotlin:telemetry-api:1.3.23 (*)
| | +--- org.jetbrains.kotlinx:kotlinx-serialization-json:1.6.0 -> 1.7.3 (*)
| | \--- androidx.test.ext:junit-ktx:1.2.0
| | +--- androidx.test.ext:junit:1.2.0 -> 1.2.1
| | | +--- androidx.annotation:annotation:1.7.0-beta01 -> 1.9.1 (*)
| | | +--- androidx.test.services:storage:1.5.0
| | | | +--- androidx.annotation:annotation:1.7.0-beta01 -> 1.9.1 (*)
| | | | \--- androidx.test:monitor:1.7.0 -> 1.7.1
| | | | +--- androidx.annotation:annotation:1.7.0-beta01 -> 1.9.1 (*)
| | | | +--- androidx.tracing:tracing:1.1.0 -> 1.2.0
| | | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 -> 2.1.21 (*)
| | | +--- androidx.test:core:1.6.1
| | | | +--- androidx.annotation:annotation:1.7.0-beta01 -> 1.9.1 (*)
| | | | +--- androidx.concurrent:concurrent-futures-ktx:1.1.0 (*)
| | | | +--- androidx.lifecycle:lifecycle-common:2.3.1 -> 2.9.0 (*)
| | | | +--- androidx.test:monitor:1.7.1 (*)
| | | | +--- androidx.tracing:tracing:1.1.0 -> 1.2.0
| | | | +--- com.google.guava:listenablefuture:1.0 -> 9999.0-empty-to-avoid-conflict-with-guava
| | | | +--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 -> 2.1.21 (*)
| | | | \--- org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.1 -> 1.10.2 (*)
| | | +--- androidx.test:monitor:1.7.1 (*)
| | | +--- junit:junit:4.13.2
| | | | \--- org.hamcrest:hamcrest-core:1.3
| | | \--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 -> 2.1.21 (*)
| | \--- org.jetbrains.kotlin:kotlin-stdlib:1.8.20 -> 2.1.21 (*)
```
Reproduction steps (if applicable)
- Include aws-pinpoint-core (or a dependent like com.amplifyframework:aws-push-notifications-pinpoint) in a project
- Run ./gradlew dependencies
Code Snippet
// Put your code below this line.
Log output
// Put your logs below this line
Configuration File
No response
GraphQL Schema
// Put your schema below this line
Additional information and screenshots
Also see the build.gradle.kts of pinpoint core:
https://github.com/aws-amplify/amplify-android/blob/main/aws-pinpoint-core/build.gradle.kts
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working