- https://github.com/nrudenko/gradle-android-cq-plugin
- http://plugins.jetbrains.com/plugin/1065
- https://github.com/jshiell/checkstyle-idea
- https://www.openhub.net/p/checkstyle-idea
- https://github.com/sethrylan/rosette/blob/master/gradle/checkstyle.gradle
- https://gist.github.com/shareme/4197561
- http://stackoverflow.com/questions/9339804/where-can-i-find-checkstyle-config-for-android-coding-style
- http://stackoverflow.com/questions/11229217/checkstyle-plugin-for-idea-java-way-of-warnings-presentation-and-automatic-fix
- http://stackoverflow.com/questions/17050654/get-android-gradle-plugin-checkstyle-working-together-command-line-usage
- http://sethrylan.org/2013/07/14/gradle-android-findbugs.html
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
#!/bin/bash | |
set -e | |
UPDATE_PKG=$1 | |
if [ "$UPDATE_PKG" == "" ]; then | |
echo "Usage: $0 <update package>" | |
echo | |
exit 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
#!/usr/bin/env sh | |
# | |
# author: Quentin Sabah | |
# | |
deploy_dir=$PWD | |
jasmin_repo=http://github.com/Sable/jasmin.git | |
jasmin_branch=develop | |
jasmin_dir=$deploy_dir/jasmin-github |
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
--- | |
layout: none | |
--- | |
BEGIN:VCALENDAR | |
VERSION:2.0 | |
PRODID:http://www.example.com/ | |
METHOD:PUBLISH | |
{% for post in site.posts limit:10 %}BEGIN:VEVENT | |
UID:{{ post.date | date: "%Y%m%d" }}@example.com | |
ORGANIZER;CN="Organizer Name":MAILTO:[email protected] |
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: 'base' | |
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'net.sf.proguard:proguard-gradle:4.11' | |
} | |
} |
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
<!-- You can change the parent around to whatever you normally use --> | |
<style name="DebugColors" parent="Theme.AppCompat"> | |
<!-- System colors --> | |
<item name="android:windowBackground">@color/__debugWindowBackground</item> | |
<item name="android:colorPressedHighlight">#FF4400</item> | |
<item name="android:colorLongPressedHighlight">#FF0044</item> | |
<item name="android:colorFocusedHighlight">#44FF00</item> | |
<item name="android:colorActivatedHighlight">#00FF44</item> |
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 abstract class BaseStatelessBlackBoxEspressoTest<T extends Activity> extends ActivityInstrumentationTestCase2<T> { | |
private SystemAnimations mSystemAnimations; | |
public BaseStatelessBlackBoxEspressoTest(Class clazz) { | |
super(clazz); | |
} | |
@Override | |
protected void setUp() throws Exception { |
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
<!-- All copyright to the original owners. The AVD version is free to use; please give attribution if you redistribute/modify --> | |
<animated-vector | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:aapt="http://schemas.android.com/aapt"> | |
<aapt:attr name="android:drawable"> | |
<vector | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
android:width="693dp" | |
android:height="693dp" | |
android:viewportWidth="693" |
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
package my.package.foo | |
/** | |
* This method is just a modification of the kotlin stdlib lazy initializer, which by default uses a | |
* synchronized block to ensure no double-running of the initializer. Synchronized blocks are not | |
* particularly fast on Android so we try to avoid them when possible: in all of our cases, the | |
* lazy property is being accessed on the main thread, so it's easier to just check that we're on | |
* the main thread as a way to ensure no double-running of the initializer. | |
*/ | |
fun <T> lazyMainThread(initializer: () -> T): Lazy<T> = LazyMainThreadImpl(initializer) |
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
fun main(args: Array<String>) { | |
if (args[0] == "start") { | |
launch(CommonPool) { | |
println("Launching") | |
SerialisationHelper.test() | |
println("Finished") | |
} | |
} |
OlderNewer