Correct error message for invalid configuration in ProGuard Gradle Plugin.

This commit is contained in:
Joren Van Hecke
2021-08-31 14:16:37 +02:00
committed by James Hamilton
parent a40b8326a1
commit 7b7e4aaafc

View File

@@ -46,7 +46,7 @@ class DefaultProGuardConfiguration private constructor(filename: String) : ProGu
ANDROID_RELEASE.filename -> ANDROID_RELEASE
ANDROID_RELEASE_OPTIMIZE.filename -> ANDROID_RELEASE_OPTIMIZE
else -> throw IllegalArgumentException("""
The default ProGuard configuration '$filename' is not invalid.
The default ProGuard configuration '$filename' is invalid.
Choose from:
$ANDROID_DEBUG, $ANDROID_RELEASE, $ANDROID_RELEASE_OPTIMIZE