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

Delta Between Two Patch Sets: adblockplussbrowser/build.gradle

Issue 29596603: Issue 5981 - Adjust build.gradle to support Kotlin (Closed)
Left Patch Set: Created Nov. 3, 2017, 10:59 a.m.
Right Patch Set: Changed kotlinVersion to camel case Created Nov. 8, 2017, 1:30 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | build.gradle » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 apply plugin: 'com.android.application' 1 apply plugin: 'com.android.application'
2 apply plugin: 'kotlin-android' 2 apply plugin: 'kotlin-android'
3 3
4 android { 4 android {
5 compileSdkVersion rootProject.ext.compileSdkVersion 5 compileSdkVersion rootProject.ext.compileSdkVersion
6 buildToolsVersion rootProject.ext.buildToolsVersion 6 buildToolsVersion rootProject.ext.buildToolsVersion
7 7
8 compileOptions { 8 compileOptions {
9 sourceCompatibility = rootProject.ext.sourceCompatibilityVersion 9 sourceCompatibility = rootProject.ext.sourceCompatibilityVersion
10 targetCompatibility = rootProject.ext.targetCompatibilityVersion 10 targetCompatibility = rootProject.ext.targetCompatibilityVersion
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 def updateBundledLists() { 47 def updateBundledLists() {
48 new URL(rootProject.ext.easyListUpdateUrl).withInputStream { 48 new URL(rootProject.ext.easyListUpdateUrl).withInputStream {
49 i -> new File(rootProject.ext.easyListFilePath).withOutputStream { it << i } 49 i -> new File(rootProject.ext.easyListFilePath).withOutputStream { it << i }
50 } 50 }
51 new URL(rootProject.ext.exceptionRulesUpdateUrl).withInputStream { 51 new URL(rootProject.ext.exceptionRulesUpdateUrl).withInputStream {
52 i -> new File(rootProject.ext.exceptionRulesFilePath).withOutputStream { it << i } 52 i -> new File(rootProject.ext.exceptionRulesFilePath).withOutputStream { it << i }
53 } 53 }
54 } 54 }
55 55
56 dependencies { 56 dependencies {
57 testCompile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlin_version" 57 testCompile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlinVersion"
58 compile "com.android.support:support-v4:$rootProject.ext.androidSupportLibra ryVersion" 58 compile "com.android.support:support-v4:$rootProject.ext.androidSupportLibra ryVersion"
59 compile (group: 'commons-validator', name: 'commons-validator', version: '+' ) { 59 compile (group: 'commons-validator', name: 'commons-validator', version: '+' ) {
60 exclude group: 'commons-logging', module: 'commons-logging' 60 exclude group: 'commons-logging', module: 'commons-logging'
61 } 61 }
62 } 62 }
LEFTRIGHT
« no previous file | build.gradle » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld