SdkProject/library/build.gradle
@@ -138,7 +138,8 @@ } task deleteSdk() { delete "${outPutPath}\\${CHANNEL_NAME}" delete "${outPutPath}\\${CHANNEL_NAME}\\debug" delete "${outPutPath}\\${CHANNEL_NAME}\\release" } //执行打包任务以及拷贝到外部 @@ -171,6 +172,8 @@ def dir = new File("${outPutPath}\\${CHANNEL_NAME}") def libraries = new File("${outPutPath}\\${CHANNEL_NAME}\\deps.gradle") dir.mkdir() if (libraries.exists()) libraries.delete() if (!libraries.exists()) libraries.createNewFile() libraries.text = content