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 anobfuscatetask to a standard Java configuration.com.preemptive.dashoJar- Adds anobfuscateJartask to a standard Java configuration.com.preemptive.dashoCustom- Does not add any tasks, allowing you to define your own.com.android.application- (Deprecated) Overlays the core Android Gradle plugin.com.android.library- (Deprecated) 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.applicationorcom.android.libraryplugin, see Version Compatibility.