Skip to content

Latest commit

 

History

History
55 lines (39 loc) · 1.64 KB

File metadata and controls

55 lines (39 loc) · 1.64 KB

ThreatMetrix Android Maven Repository

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.

Usage

To use these libraries in your Android project, follow these two steps:

1. Add the Maven Repository

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")
        }
    }
}

2. Add the Dependencies

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")
}

Contained Libraries

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