I have an issue with Gradle running on Jenkins:
A problem occurred evaluating project ':app'.
> Failed to apply plugin [id 'com.android.application']
> Could not create an instance of type com.android.build.gradle.internal.dsl.SigningConfig_Decorated.
Top level build.gradle
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
Line the error occurrs on (file app/build.gradle):
apply plugin: 'com.android.application'
I tried using Gradle wrapper/Invoke Gradle, and with different versions down to 2.10. I'm using "Force GRADLE_USER_HOME to use workspace".