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]
...
}
dataBinding {
enabled true
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
}