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
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
~/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
// 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
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
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
parallels@vulcan:~$ cd Projects/okhttp/ | |
parallels@vulcan:~/Projects/okhttp$ ls | |
benchmarks checkstyle.xml CONTRIBUTING.md LICENSE.txt okcurl okhttp-apache pom.xml samples | |
CHANGELOG.md concurrency.md deploy_website.sh mockwebserver okhttp okhttp-protocols README.md website | |
parallels@vulcan:~/Projects/okhttp$ mvn clean verify | |
[INFO] Scanning for projects... | |
[WARNING] | |
[WARNING] Some problems were encountered while building the effective model for com.squareup.okhttp:benchmarks:jar:2.0.0-SNAPSHOT | |
[WARNING] 'build.plugins.plugin.version' for org.codehaus.mojo:exec-maven-plugin is missing. @ line 68, column 13 | |
[WARNING] |
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/okhttp $java -version | |
java version "1.7.0_51" | |
Java(TM) SE Runtime Environment (build 1.7.0_51-b13) | |
Java HotSpot(TM) 64-Bit Server VM (build 24.51-b03, mixed mode) | |
~/Projects/okhttp $mvn --version | |
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 08:22:22-0700) | |
Maven home: /usr/local/Cellar/maven/3.1.1/libexec | |
Java version: 1.6.0_65, vendor: Apple Inc. | |
Java home: /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home | |
Default locale: en_US, platform encoding: MacRoman |
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/okhttp $/usr/libexec/java_home | |
/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home | |
~/Projects/okhttp $JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home mvn --version | |
Apache Maven 3.1.1 (0728685237757ffbf44136acec0402957f723d9a; 2013-09-17 08:22:22-0700) | |
Maven home: /usr/local/Cellar/maven/3.1.1/libexec | |
Java version: 1.7.0_51, vendor: Oracle Corporation | |
Java home: /Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home/jre | |
Default locale: en_US, platform encoding: UTF-8 | |
OS name: "mac os x", version: "10.9", arch: "x86_64", family: "mac" | |
~/Projects/okhttp $JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_51.jdk/Contents/Home mvn clean verify |