Overview
The PreEmptive Protection - DashO Gradle Plugin allows you to integrate DashO into your existing Gradle build process. You may use one of our integrated plugins or create your own task. The DashO plugins support Gradle's UP-TO-DATE checking, so if your classes and configuration do not change between runs, the DashO tasks will be skipped, saving build time.
Plugins
Five plugins are provided:
com.preemptive.dasho
- Adds anobfuscate
task to a standard Java configuration.com.preemptive.dashoJar
- Adds anobfuscateJar
task to a standard Java configuration.com.preemptive.dashoCustom
- Does not add any tasks, allowing you to define your own.com.android.application
- Overlays the core Android Gradle plugin.com.android.library
- Overlays the core Android Gradle plugin.
Note: See the Enabling Protection section for details concerning how the different DashO plugins integrate into the build process.
Requirements
- Java 1.8
- DashO 8.5 (or later).
- If using the
com.android.application
orcom.android.library
plugin, see Version Compatibility.