This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'android' | |
repositories { | |
mavenLocal() | |
mavenCentral() | |
} | |
group = 'com.google.android.apps.common.testing' | |
version = '1.1' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apply plugin: 'android' | |
repositories { | |
mavenLocal() | |
mavenCentral() | |
} | |
group = 'com.google.android.apps.common.testing' | |
version = '1.1' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
gradle.taskGraph.whenReady { | |
packageDebugJar { | |
exclude('**/ExposedInstrumentationApi.class') | |
} | |
packageReleaseJar { | |
exclude('**/ExposedInstrumentationApi.class') | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// jar the classes. | |
Jar jar = project.tasks.create("package${buildType.name.capitalize()}Jar", Jar); | |
jar.dependsOn variantData.javaCompileTask, variantData.processJavaResourcesTask | |
jar.from(variantData.javaCompileTask.outputs); | |
jar.from(variantData.processJavaResourcesTask.destinationDir) | |
jar.destinationDir = project.file( | |
"$project.buildDir/$DIR_BUNDLES/${variantData.variantConfiguration.dirName}") | |
jar.archiveName = "classes.jar" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/Projects/DocuSign/Ink_Android $gw connectedDeviceTest | |
Error listing versions of com.android.tools.build:gradle:0.7.+ using class org.gradle.api.internal.artifacts.repositories.resolver.MavenVersionLister$1. Will attempt an alternate way to list versions. This behaviour has been deprecated and is scheduled to be removed in Gradle 2.0 | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
A problem occurred configuring root project 'Ink_Android'. | |
> Could not resolve all dependencies for configuration ':classpath'. | |
> Could not resolve com.android.tools.build:gradle:0.7.+. | |
Required by: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rootProject.repositories { | |
mavenCentral() | |
} | |
rootProject.dependencies { | |
runtime project(':spoon-gradle-plugin') | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public ActionBarContainer(Context context, AttributeSet attrs) { | |
super(context, attrs); | |
setBackgroundDrawable(null); | |
TypedArray a = context.obtainStyledAttributes(attrs, | |
com.android.internal.R.styleable.ActionBar); | |
mBackground = a.getDrawable(com.android.internal.R.styleable.ActionBar_background); | |
mStackedBackground = a.getDrawable( | |
com.android.internal.R.styleable.ActionBar_backgroundStacked); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.tophyr.ManageAccountFragment.IPurchaseEnvelopesContainer; | |
public class PurchaseEnvelopesFragment extends DialogFragment implements OnClickListener { | |
public interface IPurchaseCredits extends IPurchaseEnvelopesContainer { | |
public void creditsPurchased(Parcelable lPunk); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<<<<<<< HEAD | |
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" /> | |
<uses-permission android:name="android.permission.READ_CONTACTS" /> | |
<uses-permission android:name="android.permission.READ_PROFILE" /> | |
<uses-permission android:name="android.permission.GET_ACCOUNTS" /> | |
<uses-permission android:name="android.permission.CAMERA" /> | |
======= | |
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/> | |
<uses-permission android:name="android.permission.READ_CONTACTS"/> | |
<uses-permission android:name="android.permission.READ_PROFILE" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
OutputStream os = null; | |
if (call.getRequestType() == Call.RequestType.DELETE) { | |
try { | |
Object httpImpl = conn; | |
Class<?> httpImplClass = httpImpl.getClass(); | |
if (conn instanceof HttpsURLConnection) { | |
Field delegateField = conn.getClass().getDeclaredField("delegate"); | |
delegateField.setAccessible(true); | |
httpImpl = delegateField.get(conn); | |
httpImplClass = httpImpl.getClass().getSuperclass(); |