mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-07 10:35:52 +01:00
remove dead imports
remove old kxml import update snakeyaml to 1.12
This commit is contained in:
parent
db6ecadc00
commit
168075e493
@ -54,8 +54,7 @@ compile project(':brut.j.dir'),
|
|||||||
project(':brut.apktool.smali:dexlib'),
|
project(':brut.apktool.smali:dexlib'),
|
||||||
project(':brut.apktool.smali:baksmali'),
|
project(':brut.apktool.smali:baksmali'),
|
||||||
project(':brut.apktool.smali:smali'),
|
project(':brut.apktool.smali:smali'),
|
||||||
"org.yaml:snakeyaml:1.11",
|
"org.yaml:snakeyaml:1.12",
|
||||||
"net.sf.kxml:kxml2:2.3.0",
|
|
||||||
"xpp3:xpp3:1.1.4c",
|
"xpp3:xpp3:1.1.4c",
|
||||||
"xmlunit:xmlunit:1.3",
|
"xmlunit:xmlunit:1.3",
|
||||||
"com.google.guava:guava:12.0",
|
"com.google.guava:guava:12.0",
|
||||||
|
@ -31,14 +31,10 @@ import java.io.*;
|
|||||||
import java.util.*;
|
import java.util.*;
|
||||||
import java.util.logging.Logger;
|
import java.util.logging.Logger;
|
||||||
import java.util.zip.ZipEntry;
|
import java.util.zip.ZipEntry;
|
||||||
import java.util.zip.ZipFile;
|
|
||||||
|
|
||||||
import org.apache.commons.io.FileUtils;
|
|
||||||
import org.yaml.snakeyaml.DumperOptions;
|
import org.yaml.snakeyaml.DumperOptions;
|
||||||
import org.yaml.snakeyaml.Yaml;
|
import org.yaml.snakeyaml.Yaml;
|
||||||
|
|
||||||
import org.apache.commons.io.FileUtils.*;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @author Ryszard Wiśniewski <brut.alll@gmail.com>
|
* @author Ryszard Wiśniewski <brut.alll@gmail.com>
|
||||||
*/
|
*/
|
||||||
@ -541,7 +537,7 @@ public class Androlib {
|
|||||||
Map<String, String> files = (Map<String, String>)meta.get("unknownFiles");
|
Map<String, String> files = (Map<String, String>)meta.get("unknownFiles");
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ZipFile apkZipFile = new ZipFile(outFile.getAbsolutePath());
|
ZipExtFile apkZipFile = new ZipExtFile(outFile.getAbsolutePath());
|
||||||
|
|
||||||
// loop through files inside
|
// loop through files inside
|
||||||
for (Map.Entry<String,String> entry : files.entrySet()) {
|
for (Map.Entry<String,String> entry : files.entrySet()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user