Consistently use tabs in build.gradle.
This commit is contained in:
committed by
Joshua Granick
parent
28e9fe1a14
commit
2788dec2a5
@@ -1,26 +1,26 @@
|
||||
apply plugin: 'com.android.application'
|
||||
|
||||
android {
|
||||
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
|
||||
// buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
|
||||
compileSdkVersion Integer.parseInt(project.ANDROID_BUILD_SDK_VERSION)
|
||||
// buildToolsVersion project.ANDROID_BUILD_TOOLS_VERSION
|
||||
|
||||
defaultConfig {
|
||||
applicationId "::META_PACKAGE_NAME::"
|
||||
minSdkVersion Integer.parseInt(project.ANDROID_BUILD_MIN_SDK_VERSION)
|
||||
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
|
||||
versionCode Integer.parseInt(project.VERSION_CODE)
|
||||
versionName project.VERSION_NAME
|
||||
}
|
||||
defaultConfig {
|
||||
applicationId "::META_PACKAGE_NAME::"
|
||||
minSdkVersion Integer.parseInt(project.ANDROID_BUILD_MIN_SDK_VERSION)
|
||||
targetSdkVersion Integer.parseInt(project.ANDROID_BUILD_TARGET_SDK_VERSION)
|
||||
versionCode Integer.parseInt(project.VERSION_CODE)
|
||||
versionName project.VERSION_NAME
|
||||
}
|
||||
|
||||
::if KEY_STORE::
|
||||
signingConfigs {
|
||||
release {
|
||||
storeFile file(project.KEY_STORE)
|
||||
storePassword project.KEY_STORE_PASSWORD
|
||||
keyAlias project.KEY_STORE_ALIAS
|
||||
keyPassword project.KEY_STORE_ALIAS_PASSWORD
|
||||
}
|
||||
}
|
||||
signingConfigs {
|
||||
release {
|
||||
storeFile file(project.KEY_STORE)
|
||||
storePassword project.KEY_STORE_PASSWORD
|
||||
keyAlias project.KEY_STORE_ALIAS
|
||||
keyPassword project.KEY_STORE_ALIAS_PASSWORD
|
||||
}
|
||||
}
|
||||
::else::
|
||||
File signingFile = file('signing.properties');
|
||||
if(signingFile.exists()) {
|
||||
@@ -38,14 +38,14 @@ android {
|
||||
}
|
||||
::end::
|
||||
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
}
|
||||
buildTypes {
|
||||
release {
|
||||
minifyEnabled false
|
||||
signingConfig signingConfigs.release
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
}
|
||||
@@ -1,27 +1,27 @@
|
||||
// Top-level build file where you can add configuration options common to all sub-projects/modules.
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:2.1.0'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:2.1.0'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
}
|
||||
}
|
||||
|
||||
allprojects {
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
repositories {
|
||||
jcenter()
|
||||
}
|
||||
}
|
||||
|
||||
task clean(type: Delete) {
|
||||
delete rootProject.buildDir
|
||||
delete rootProject.buildDir
|
||||
}
|
||||
|
||||
task wrapper(type: Wrapper) {
|
||||
gradleVersion = '::ANDROID_GRADLE_VERSION::'
|
||||
gradleVersion = '::ANDROID_GRADLE_VERSION::'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user