Create a gist now

Instantly share code, notes, and snippets.

@mosil /build.gradle Secret
Last active Aug 29, 2015

Embed
What would you like to do?
android_m_preview
//請搭配 http://blog.mosil.biz/2015/06/android-m-preview-developer-issue/
apply plugin: 'com.android.application'
android {
buildToolsVersion '23.0.0 rc2'
defaultConfig {
applicationId "biz.mosil.sample.android"
versionCode 1
versionName "1.0"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
productFlavors {
preview {
minSdkVersion 'android-MNC'
targetSdkVersion 'android-MNC'
compileSdkVersion 'android-MNC'
}
oirgin {
minSdkVersion 9
targetSdkVersion 22
compileSdkVersion 22
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
compile 'com.android.support:appcompat-v7:22.2.0'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment