We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe70ff commit 4679937Copy full SHA for 4679937
lib_bcu_plugin/src/main/java/com/ysj/lib/bytecodeutil/plugin/TransformTask.kt
@@ -186,7 +186,7 @@ abstract class TransformTask : DefaultTask() {
186
worker.submit {
187
JarFile(file).use { jf ->
188
jf.entries().iterator().forEach entry@{ entry ->
189
- if (entry.isDirectory || entry.name.startsWith("META-INF") || entry.name == "module-info.class") {
+ if (!entry.name.endsWith(".class") || entry.name.endsWith("module-info.class")) {
190
return@entry
191
}
192
val entryFile = File(notNeedOutputDir, "${entry.name}-crc${entry.crc.toString(16)}")
0 commit comments