I have a proguard task as follows:
‘’’ task myProguardTask(type: proguard.gradle.ProGuardTask) {
configuration(file: ‘scripts/tools/obfuscation.config’)
injars(file: ‘test.jar’)
libraryjars(file: ‘android.jar’)
outjars(file: ‘test_out.jar’) } ‘’’
but gradle always output errors on line " configuration(file: ‘scripts/tools/obfuscation.config’)"
‘scripts/tools/obfuscation.config’ is the path to my configuration file. As the http://proguard.sourceforge.net/index.html#manual/gradle.html docs says , ‘configuration’ is a closure setting.