| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 1 | |
|
anton
2017/07/06 06:51:10
this change (new line) is not required
| |
| 1 apply plugin: 'com.android.application' | 2 apply plugin: 'com.android.application' |
| 2 | 3 |
| 3 android { | 4 android { |
| 4 compileSdkVersion rootProject.ext.compileSdkVersion | 5 compileSdkVersion rootProject.ext.compileSdkVersion |
| 5 buildToolsVersion rootProject.ext.buildToolsVersion | 6 buildToolsVersion rootProject.ext.buildToolsVersion |
| 6 | 7 |
| 7 compileOptions { | 8 compileOptions { |
| 8 sourceCompatibility = rootProject.ext.sourceCompatibilityVersion | 9 sourceCompatibility = rootProject.ext.sourceCompatibilityVersion |
| 9 targetCompatibility = rootProject.ext.targetCompatibilityVersion | 10 targetCompatibility = rootProject.ext.targetCompatibilityVersion |
| 10 } | 11 } |
| (...skipping 10 matching lines...) Expand all Loading... | |
| 21 main { | 22 main { |
| 22 manifest.srcFile 'AndroidManifest.xml' | 23 manifest.srcFile 'AndroidManifest.xml' |
| 23 java.srcDirs = ['src'] | 24 java.srcDirs = ['src'] |
| 24 res.srcDirs = ['res'] | 25 res.srcDirs = ['res'] |
| 25 } | 26 } |
| 26 } | 27 } |
| 27 | 28 |
| 28 buildTypes { | 29 buildTypes { |
| 29 release { | 30 release { |
| 30 minifyEnabled true | 31 minifyEnabled true |
| 31 proguardFiles getDefaultProguardFile('proguard-android.txt') | 32 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'progu ard-rules.pro' |
| 32 lintOptions { | 33 lintOptions { |
| 33 disable 'MissingTranslation' | 34 disable 'MissingTranslation' |
| 34 } | 35 } |
| 35 } | 36 } |
| 36 } | 37 } |
| 37 } | 38 } |
| 38 | 39 |
| 39 dependencies { | 40 dependencies { |
| 40 compile "com.android.support:support-v4:$rootProject.ext.androidSupportLibra ryVersion" | 41 compile "com.android.support:support-v4:$rootProject.ext.androidSupportLibra ryVersion" |
| 42 compile (group: 'commons-validator', name: 'commons-validator', version: '1. 6') { | |
|
anton
2017/07/06 06:51:10
should we really use the whole Apache commons modu
jens
2017/07/06 08:49:06
I think it's okay to use commons validator, as the
diegocarloslima
2017/07/06 18:25:16
IHMO, for this project, we don't have a high size
anton
2017/07/07 13:03:19
okay, let's just revert adding new empty lines and
| |
| 43 exclude group: 'commons-logging', module: 'commons-logging' | |
| 44 } | |
| 41 } | 45 } |
| OLD | NEW |