ThunderRAR uses Gradle with the Kotlin DSL (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Viruz7w7/thunderRAR/llms.txt
Use this file to discover all available pages before exploring further.
build.gradle.kts) as its build system, managed through a committed Gradle wrapper so that every developer uses the exact same Gradle version without a separate global installation. This page explains how to produce a debug or release APK from the command line, how to deploy directly to a connected device, and how to run both test suites that ship with the project.
Debug build
A debug APK is the standard artifact for local development and testing. It is signed automatically with a debug keystore and includes debugging symbols. Build it from the project root using the Gradle wrapper:Release build
The release variant is intended for distribution. Build it with:app/build.gradle.kts:
isMinifyEnabled = false— code shrinking and obfuscation via R8/ProGuard are currently disabled for release builds.- ProGuard rules file —
app/proguard-rules.prois already wired up as the custom rules file (proguard-android-optimize.txtplusproguard-rules.pro), ready for when minification is enabled in a future version.
The release APK must be signed with a production keystore before it can be distributed via the Google Play Store or any other channel. Use Android Studio’s Build → Generate Signed Bundle / APK wizard, or the apksigner command-line tool, to complete the signing step.
Install on a connected device
To build a debug APK and push it directly to a device or emulator in a single step, run:adb devices.
Running tests
ThunderRAR ships with two test suites that map to the standard Android project layout.Unit tests
Local unit tests live inapp/src/test/ and run entirely on the JVM — no Android device or emulator is needed. Execute them with:
app/build/reports/tests/testDebugUnitTest/index.html after the run.
Instrumented tests
Instrumented tests live inapp/src/androidTest/ and execute directly on an Android device or emulator, giving them access to the real Android framework and application context. Run them with:
com.example.thunder:
Gradle wrapper
The Gradle wrapper (gradlew on macOS/Linux, gradlew.bat on Windows) is committed to the repository at the project root. It pins the build to Gradle 8.11.1, as declared in gradle/wrapper/gradle-wrapper.properties. When you invoke ./gradlew for the first time, it automatically downloads that exact Gradle distribution to your local cache — no separate Gradle installation is required.
On Windows, replace
./gradlew with gradlew.bat in every command shown on this page. For example: