Gradle Plugins for Java Overview
The DashO™ Gradle Plugins for Java allow you to integrate PreEmptive Protection™ DashO for Android & Java into your existing Gradle build process for JVM-based projects. Use the DashO Gradle Plugin for Android to integrate with an Android build.
You may use one of our integrated plugins (com.preemptive.dasho
or com.preemptive.dashoJar
) or create your own task using the com.preemptive.dashoCustom
plugin.
These 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
Three 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.
Note: See the Enabling Protection section for details concerning how the different DashO plugins integrate into the build process.
Requirements
- Java 1.7
- DashO 8.1 (or later).