I hereby claim:
- I am emartynov on github.
- I am eugen (https://keybase.io/eugen) on keybase.
- I have a public key whose fingerprint is C930 5431 64D0 8903 2E83 2129 9896 55D8 BC15 51EA
To claim this, I am signing this object:
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.11.+' | |
classpath 'org.robolectric:robolectric-gradle-plugin:0.11.0' | |
classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.10.+' | |
} |
new MaterialDialog.Builder(this) | |
.title(R.string.states) | |
.items(R.array.states) | |
.itemsCallback(new MaterialDialog.ListCallback() { | |
@Override | |
public void onSelection(MaterialDialog dialog, View view, int which, String text) { | |
Toast.makeText(getApplicationContext(), which + ": " + text, Toast.LENGTH_SHORT).show(); | |
} | |
}) | |
.negativeText("Negative") |
public Object read() { | |
synchronized(writeLock) { | |
synchronized(readLock) { | |
readersCount += 1; | |
} | |
} | |
final Object result = value; | |
synchronized(readLock) { |
I hereby claim:
To claim this, I am signing this object:
jdk: oraclejdk8 | |
before_script: | |
- export ANDROID_HOME=$HOME/.android | |
- mkdir -p $HOME/.android | |
- cp -r extra/licenses $ANDROID_HOME/licenses | |
- chmod +x gradlew | |
script: | |
- ./gradlew clean test |
apply from: 'extra/environment.gradle' |
afterEvaluate { | |
def sdkPath = prepareAndroidHome() | |
copyLicenseFiles( sdkPath ) | |
} | |
private void copyLicenseFiles( String sdkPath ) | |
{ | |
def destinationDir = new File( sdkPath ) | |
if ( !destinationDir.exists() ) |
gradle allDependencies | grep support-annotations -c | |
0 |
language: android | |
jdk: oraclejdk8 | |
android: | |
components: | |
- tools | |
- platform-tools | |
- tools | |
- build-tools-25.0.0 | |
- android-25 |
buildscript { | |
repositories { | |
jcenter() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:2.2.2' | |
} | |
} |