1.project vs project.rootProject
2.System.console() != null ? System.console().readPassword("\nKeystore password: ") : ""
System.console() != null ? System.console().readLine("\nKeystore password: ") : ""
3.Properties properties = new Properties()-->properties.load(project.file('keystore.properties').newDataInputStream())
4.
repositories {
flatDir { dirs 'libs' }}dependencies {
compile fileTree(dir: 'libs', include: ['*.jar']) compile 'com.android.support:support-v4:22.2.0' compile 'com.android.support:appcompat-v7:22.2.0' compile 'com.zachary.library.basicsdk:librarybasicsdk:1.0.0@aar' compile 'com.zachary.library.uicomp:libraryuicomp:1.0.0@aar'}5.http://tools.android.com/tech-docs/new-build-system
http://stormzhang.github.io/android/2014/02/28/android-gradle/6.chmod +x gradlew
7.gradlew -v