This file contains 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
<?xml version="1.0" encoding="utf-8"?> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.google.example.gms.customrenderingexample"> | |
<application | |
android:allowBackup="true" | |
android:icon="@mipmap/ic_launcher" | |
android:label="@string/app_name" | |
android:theme="@style/AppTheme"> |
This file contains 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
// Example use: gradle -I init.gradle clean assembleDebug | |
useLogger(new CustomEventLogger()) | |
class CustomEventLogger extends BuildAdapter implements TaskExecutionListener { | |
public void beforeExecute(Task task) { | |
println task + " " + task.class | |
} | |
public void afterExecute(Task task, TaskState state) { | |
} | |
public void buildFinished(BuildResult result) { |
This file contains 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
/** | |
* Simple script to check hashed device password values. | |
* Primary user file located at /data/system/password.key | |
* Other users: /data/system/users/{user-id}/password.key | |
* You may also check device_policies.xml file for password type and complexity hint | |
* | |
* @see DevicePolicyManagerService | |
* @see LockPatternUtils | |
* @see LockSettingsService | |
*/ |
This file contains 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
////////////// | |
// NDK Support | |
////////////// | |
task buildNative(type: Exec) { | |
if (System.env.ANDROID_NDK != null) { | |
def ndkBuild = null | |
if (System.properties['os.name'].toLowerCase().contains('windows')) { | |
ndkBuild = new File(System.env.ANDROID_NDK, 'ndk-build.cmd') | |
} else { |