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.
Five plugins are provided:
com.preemptive.dasho- Adds an
obfuscatetask to a standard Java configuration.
com.preemptive.dashoJar- Adds an
obfuscateJartask 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.
- Gradle 4.4
- Java 1.8
- DashO 8.5 (or later).
- If using the
com.android.libraryplugin, see Version Compatibility.