From 6d563252f25359f6fa28997b9fde2057529b5553 Mon Sep 17 00:00:00 2001 From: Mosect Date: Mon, 23 May 2022 22:20:55 +0800 Subject: [PATCH] 1.1.2-b2 --- plugin/build.gradle | 2 +- .../main/groovy/com/mosect/smali/plugin/SmaliPlugin.groovy | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/build.gradle b/plugin/build.gradle index 01c3146..542b720 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -44,7 +44,7 @@ afterEvaluate { from components.java groupId = 'com.mosect' artifactId = 'smali-plugin' - version = '1.1.2-b1' + version = '1.1.2-b2' } } } diff --git a/plugin/src/main/groovy/com/mosect/smali/plugin/SmaliPlugin.groovy b/plugin/src/main/groovy/com/mosect/smali/plugin/SmaliPlugin.groovy index 35ecd6f..7a3646f 100644 --- a/plugin/src/main/groovy/com/mosect/smali/plugin/SmaliPlugin.groovy +++ b/plugin/src/main/groovy/com/mosect/smali/plugin/SmaliPlugin.groovy @@ -56,6 +56,8 @@ class SmaliPlugin implements Plugin { } } task.doLast { + project.delete(tempDir) + // find dex files List dexFiles = [] def dexFileInfoList = [] @@ -90,8 +92,6 @@ class SmaliPlugin implements Plugin { return } - project.delete(tempDir) - tempDir.mkdirs() // exists dex file DexHandler dexHandler = new DexHandler() dexHandler.tempDir = tempDir