This repository serves as a Git-hosted Maven repository for the ThreatMetrix SDK for Android. This allows for easy integration into Android projects using Gradle.
To use these libraries in your Android project, follow these two steps:
Add this repository to your project's settings.gradle.kts
. This tells Gradle where to look for the dependencies.
// settings.gradle.kts
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
google()
mavenCentral()
// ... other repositories
// Add this repository's URL
maven {
url = uri("https://raw.githubusercontent.com/hyperdevs-team/threatmetrix-maven-mirror/main")
}
}
}
Add the required ThreatMetrix libraries to your module's build.gradle.kts
file (e.g., app/build.gradle.kts
).
// app/build.gradle.kts
dependencies {
// ... other dependencies
implementation("com.threatmetrix:TMXProfiling:8.0-88")
implementation("com.threatmetrix:TMXProfilingConnections:8.0-88")
implementation("com.threatmetrix:TMXDeviceSecurityHealth:8.0-88")
}
This repository currently contains the following libraries:
Group ID | Artifact ID | Version |
---|---|---|
com.threatmetrix |
TMXProfiling |
8.0-88 |
com.threatmetrix |
TMXProfilingConnections |
8.0-88 |
com.threatmetrix |
TMXDeviceSecurityHealth |
8.0-88 |