Gradle Plugins for Java Overview
The DashO™ Gradle Plugins for Java allow you to integrate PreEmptive Protection™ DashO 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.dashoJar) or create your own task using the
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.
Three 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.
Note: See the Enabling Protection section for details concerning how the different DashO plugins integrate into the build process.
- Java 8 (or later).
- DashO 8.1 (or later).