if (!rootProject.isAndroidTestBuild()) { apply plugin: 'bytex.threadOpt' thread_opt { enable true enableInDebug true logLevel "DEBUG" } }