Gradle Settings
Gradle Settings for Nuclei SDK
Please ensure the below configuration is present in the app level build.gradle
file as shown in the example below.
- MultiDex is enabled
- Placeholder for NucleiTaskId is provided.
- Databinding is enabled
- Java 8 is enabled
android {
...
defaultConfig {
...
multiDexEnabled true
manifestPlaceholders = [nucleiTaskId: applicationId]
// If your application is single activity app, then set nucleiTaskId as below
manifestPlaceholders = [nucleiTaskId: "com.nuclei.sdk.<APP-NAME>"]
...
}
dataBinding {
enabled true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}