Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: adblockplussbrowser/build.gradle

Issue 29596640: Noissue - Update dependecies and tools (Closed)
Patch Set: Created Nov. 3, 2017, 1:19 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | adblockplussbrowser/libs/android-support-v4.jar » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 apply plugin: 'com.android.application' 1 apply plugin: 'com.android.application'
2 2
3 android { 3 android {
4 compileSdkVersion rootProject.ext.compileSdkVersion 4 compileSdkVersion rootProject.ext.compileSdkVersion
5 buildToolsVersion rootProject.ext.buildToolsVersion 5 buildToolsVersion rootProject.ext.buildToolsVersion
6 6
7 compileOptions { 7 compileOptions {
8 sourceCompatibility = rootProject.ext.sourceCompatibilityVersion 8 sourceCompatibility = rootProject.ext.sourceCompatibilityVersion
9 targetCompatibility = rootProject.ext.targetCompatibilityVersion 9 targetCompatibility = rootProject.ext.targetCompatibilityVersion
10 } 10 }
(...skipping 18 matching lines...) Expand all
29 release { 29 release {
30 minifyEnabled true 30 minifyEnabled true
31 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'progu ard-rules.pro' 31 proguardFiles getDefaultProguardFile('proguard-android.txt'), 'progu ard-rules.pro'
32 lintOptions { 32 lintOptions {
33 disable 'MissingTranslation' 33 disable 'MissingTranslation'
34 } 34 }
35 } 35 }
36 } 36 }
37 37
38 afterEvaluate { project -> 38 afterEvaluate { project ->
39 project.tasks.prepareReleaseDependencies << { 39 project.tasks.generateReleaseResources << {
jens 2017/11/03 13:33:26 The task 'prepareReleaseDependencies ' does not ex
40 updateBundledLists() 40 updateBundledLists()
41 println('Bundled lists updated at ' + new Date().format('dd MMM yyyy , HH:mm:ss zzz')) 41 println('Bundled lists updated at ' + new Date().format('dd MMM yyyy , HH:mm:ss zzz'))
42 } 42 }
43 } 43 }
44 } 44 }
45 45
46 def updateBundledLists() { 46 def updateBundledLists() {
47 new URL(rootProject.ext.easyListUpdateUrl).withInputStream { 47 new URL(rootProject.ext.easyListUpdateUrl).withInputStream {
48 i -> new File(rootProject.ext.easyListFilePath).withOutputStream { it << i } 48 i -> new File(rootProject.ext.easyListFilePath).withOutputStream { it << i }
49 } 49 }
50 new URL(rootProject.ext.exceptionRulesUpdateUrl).withInputStream { 50 new URL(rootProject.ext.exceptionRulesUpdateUrl).withInputStream {
51 i -> new File(rootProject.ext.exceptionRulesFilePath).withOutputStream { it << i } 51 i -> new File(rootProject.ext.exceptionRulesFilePath).withOutputStream { it << i }
52 } 52 }
53 } 53 }
54 54
55 dependencies { 55 dependencies {
56 compile "com.android.support:support-v4:$rootProject.ext.androidSupportLibra ryVersion" 56 compile "com.android.support:support-v4:$rootProject.ext.androidSupportLibra ryVersion"
57 compile (group: 'commons-validator', name: 'commons-validator', version: '+' ) { 57 compile (group: 'commons-validator', name: 'commons-validator', version: '+' ) {
58 exclude group: 'commons-logging', module: 'commons-logging' 58 exclude group: 'commons-logging', module: 'commons-logging'
59 } 59 }
60 } 60 }
OLDNEW
« no previous file with comments | « no previous file | adblockplussbrowser/libs/android-support-v4.jar » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld