Skip to content

Commit

Permalink
Replace dx module with artifact dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Drew Hannay authored and drewhannay committed Dec 1, 2016
1 parent 5a8a842 commit 929194f
Show file tree
Hide file tree
Showing 272 changed files with 8 additions and 57,628 deletions.
2 changes: 1 addition & 1 deletion dexmaker/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ repositories {
}

dependencies {
compile project(":dx")
compile 'com.jakewharton.android.repackaged:dalvik-dx:7.1.0_r7'

testCompile 'junit:junit:4.12'
}
11 changes: 6 additions & 5 deletions dexmaker/src/main/java/com/android/dx/DexMaker.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

package com.android.dx;

import com.android.dx.dex.DexFormat;
import com.android.dex.DexFormat;
import com.android.dx.dex.DexOptions;
import com.android.dx.dex.code.DalvCode;
import com.android.dx.dex.code.PositionList;
Expand All @@ -26,20 +26,17 @@
import com.android.dx.dex.file.EncodedField;
import com.android.dx.dex.file.EncodedMethod;
import com.android.dx.rop.code.AccessFlags;
import static com.android.dx.rop.code.AccessFlags.ACC_CONSTRUCTOR;
import com.android.dx.rop.code.LocalVariableInfo;
import com.android.dx.rop.code.RopMethod;
import com.android.dx.rop.cst.CstString;
import com.android.dx.rop.cst.CstType;
import com.android.dx.rop.type.StdTypeList;

import java.io.File;
import java.io.FileOutputStream;
import java.io.IOException;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Modifier;
import static java.lang.reflect.Modifier.PRIVATE;
import static java.lang.reflect.Modifier.STATIC;

import java.util.Arrays;
import java.util.Iterator;
import java.util.LinkedHashMap;
Expand All @@ -48,6 +45,10 @@
import java.util.jar.JarEntry;
import java.util.jar.JarOutputStream;

import static com.android.dx.rop.code.AccessFlags.ACC_CONSTRUCTOR;
import static java.lang.reflect.Modifier.PRIVATE;
import static java.lang.reflect.Modifier.STATIC;

/**
* Generates a </i><strong>D</strong>alvik <strong>EX</strong>ecutable (dex)
* file for execution on Android. Dex files define classes and interfaces,
Expand Down
8 changes: 0 additions & 8 deletions dx/build.gradle

This file was deleted.

25 changes: 0 additions & 25 deletions dx/src/main/java/com/android/dx/Version.java

This file was deleted.

88 changes: 0 additions & 88 deletions dx/src/main/java/com/android/dx/cf/code/Merger.java

This file was deleted.

98 changes: 0 additions & 98 deletions dx/src/main/java/com/android/dx/dex/DexFormat.java

This file was deleted.

40 changes: 0 additions & 40 deletions dx/src/main/java/com/android/dx/dex/DexOptions.java

This file was deleted.

Loading

0 comments on commit 929194f

Please sign in to comment.