-
-
Save zhuifengshen/6e1b54bcdb289a36ee41 to your computer and use it in GitHub Desktop.
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
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.4' | |
} | |
} | |
apply plugin: 'android' | |
dependencies { | |
compile files('libs/android-support-v4.jar') | |
} | |
android { | |
compileSdkVersion 17 | |
buildToolsVersion "17" | |
defaultConfig { | |
minSdkVersion 8 | |
targetSdkVersion 17 | |
} | |
signingConfigs { | |
myConfig{ | |
storeFile file("gradle.keystore") | |
storePassword "gradle" | |
keyAlias "gradle" | |
keyPassword "gradle" | |
} | |
} | |
buildTypes{ | |
release { | |
signingConfig signingConfigs.myConfig | |
} | |
} | |
sourceSets { | |
main { | |
manifest.srcFile 'AndroidManifest.xml' | |
java.srcDirs = ['src'] | |
resources.srcDirs = ['src'] | |
aidl.srcDirs = ['src'] | |
renderscript.srcDirs = ['src'] | |
res.srcDirs = ['res'] | |
assets.srcDirs = ['assets'] | |
} | |
instrumentTest.setRoot('tests') | |
} | |
} |
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
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.4' | |
} | |
} | |
apply plugin: 'android' | |
dependencies { | |
compile files('libs/android-support-v4.jar') | |
} | |
android { | |
compileSdkVersion 17 | |
buildToolsVersion "17" | |
defaultConfig { | |
minSdkVersion 8 | |
targetSdkVersion 17 | |
} | |
signingConfigs { | |
myConfig{ | |
storeFile file("gradle.keystore") | |
storePassword "gradle" | |
keyAlias "gradle" | |
keyPassword "gradle" | |
} | |
} | |
buildTypes{ | |
release { | |
signingConfig signingConfigs.myConfig | |
runProguard true | |
proguardFile 'proguard-android.txt' | |
} | |
} | |
productFlavors { | |
playstore { | |
packageName='com.youxiachai.androidgradle.playstore' | |
} | |
hiapk { | |
packageName='com.youxiachai.androidgradle.amazonappstore' | |
} | |
} | |
sourceSets { | |
main { | |
manifest.srcFile 'AndroidManifest.xml' | |
java.srcDirs = ['src'] | |
resources.srcDirs = ['src'] | |
aidl.srcDirs = ['src'] | |
renderscript.srcDirs = ['src'] | |
res.srcDirs = ['res'] | |
assets.srcDirs = ['assets'] | |
} | |
hiapk { | |
manifest.srcFile 'hiapk/AndroidManifest.xml' | |
} | |
playstore { | |
manifest.srcFile 'hiapk/AndroidManifest.xml' | |
} | |
instrumentTest.setRoot('tests') | |
} | |
} |
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
buildscript { | |
repositories { | |
mavenCentral() | |
} | |
dependencies { | |
classpath 'com.android.tools.build:gradle:0.4' | |
} | |
} | |
apply plugin: 'android' | |
dependencies { | |
compile files('libs/android-support-v4.jar') | |
} | |
android { | |
compileSdkVersion 17 | |
buildToolsVersion "17" | |
defaultConfig { | |
minSdkVersion 8 | |
targetSdkVersion 17 | |
} | |
signingConfigs { | |
myConfig{ | |
storeFile file("androidkey") | |
storePassword "a402091838" | |
keyAlias "pettrygirl" | |
keyPassword "a402091838" | |
} | |
} | |
buildTypes{ | |
release { | |
signingConfig signingConfigs.myConfig | |
runProguard true | |
proguardFile 'proguard-android.txt' | |
} | |
} | |
sourceSets { | |
main { | |
manifest.srcFile 'AndroidManifest.xml' | |
java.srcDirs = ['src'] | |
resources.srcDirs = ['src'] | |
aidl.srcDirs = ['src'] | |
renderscript.srcDirs = ['src'] | |
res.srcDirs = ['res'] | |
assets.srcDirs = ['assets'] | |
} | |
instrumentTest.setRoot('tests') | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment