Proguard 在 android Studio 中开箱即用?这是什么意思?

Proguard comes out of the box in android Studio? What does it means?

我在 Android Studio 中阅读了一篇关于 Proguard 的文章,他们是一行

Proguard comes out of the box in android Studio

谁能给我解释一下吗?如果您有兴趣阅读完整的文章,我会在下面添加 link。

Article Link

这意味着proguard与您的默认android项目捆绑在一起,您不需要通过gradle或maven

从外部下载它
android {
    buildTypes {
        release {
            // Enables code shrinking, obfuscation, and optimization for only
            // your project's release build type.
            minifyEnabled true// Enables resource shrinking, which is performed by the
            // Android Gradle plugin.
            shrinkResources true// Includes the default ProGuard rules files that are packaged with
            // the Android Gradle plugin. To learn more, go to the section about
            // R8 configuration files.
            proguardFiles getDefaultProguardFile(
                    'proguard-android.txt'),
                    'proguard-rules.pro'
        }
    }
    ...
}

参考:More on proguard usage in android