Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我的 build.gradle buildTypes 中有 2 个不同的构建(调试、发布)。当我运行 ./gradlew test 命令时,这两个构建都将被构建和测试。如何指定我只希望在运行 ./gradlew 测试时构建和测试“调试”版本?