Installation
Integrating Terminator into your Android project is straightforward. You just need to add the library as a dependency in your Gradle build files.
Prerequisites
- An existing Android project
- Android Gradle Plugin 7.0 or higher
Gradle Setup
The setup involves two steps: adding the repository and then the dependency.
Step 1: Add JitPack Repository
Add the JitPack repository to your settings.gradle
or settings.gradle.kts
file.
- settings.gradle.kts
- settings.gradle
// settings.gradle.kts
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven { setUrl("https://jitpack.io") }
}
}
// settings.gradle
dependencyResolutionManagement {
repositories {
google()
mavenCentral()
maven { url 'https://jitpack.io' }
}
}
Step 2: Add the Dependency
Add the Terminator library to your module-level build.gradle.kts
or build.gradle
.
- build.gradle.kts
- build.gradle
// app/build.gradle.kts
dependencies {
implementation("com.github.Matrix-Username.Terminator:Terminator:1.0.2")
implementation("com.github.Matrix-Username.Terminator:TerminatorHookKotlin:1.0.2") //Kotlin wrapper
}
// app/build.gradle
dependencies {
implementation 'com.github.Matrix-Username.Terminator:Terminator:1.0.2'
implementation 'com.github.Matrix-Username.Terminator:TerminatorHookKotlin:1.0.2' //Kotlin wrapper
}
After syncing your Gradle files, Android Studio will download the Terminator library.
✅ What's Next?
You're ready to start hooking.
➡️ Next: Your First Native Hook