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

Side by Side Diff: build.gradle

Issue 29596603: Issue 5981 - Adjust build.gradle to support Kotlin (Closed)
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:
View unified diff | Download patch
« no previous file with comments | « adblockplussbrowser/build.gradle ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 buildscript { 1 buildscript {
2 // buildscript block is evaluated at the very beginning. Properties defined in the ext block
3 // don't exist at that time.
4 ext.kotlinVersion = '1.1.51'
2 repositories { 5 repositories {
3 jcenter() 6 jcenter()
4 } 7 }
5 dependencies { 8 dependencies {
6 classpath 'com.android.tools.build:gradle:2.3.1' 9 classpath 'com.android.tools.build:gradle:2.3.1'
10 classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
7 } 11 }
8 } 12 }
9 13
10 allprojects { 14 allprojects {
11 repositories { 15 repositories {
12 jcenter() 16 jcenter()
17 mavenCentral()
13 } 18 }
14 } 19 }
15 20
16 ext { 21 ext {
17 minSdkVersion = 21 22 minSdkVersion = 21
18 targetSdkVersion = 25 23 targetSdkVersion = 25
19 compileSdkVersion = 25 24 compileSdkVersion = 25
20 buildToolsVersion = '25.0.3' 25 buildToolsVersion = '25.0.3'
21 androidSupportLibraryVersion = '25.3.1' 26 androidSupportLibraryVersion = '25.3.1'
22 sourceCompatibilityVersion = JavaVersion.VERSION_1_7 27 sourceCompatibilityVersion = JavaVersion.VERSION_1_7
23 targetCompatibilityVersion = JavaVersion.VERSION_1_7 28 targetCompatibilityVersion = JavaVersion.VERSION_1_7
24 easyListUpdateUrl = 'https://easylist-downloads.adblockplus.org/easylist.txt ' 29 easyListUpdateUrl = 'https://easylist-downloads.adblockplus.org/easylist.txt '
25 exceptionRulesUpdateUrl = 'https://easylist-downloads.adblockplus.org/except ionrules.txt' 30 exceptionRulesUpdateUrl = 'https://easylist-downloads.adblockplus.org/except ionrules.txt'
26 easyListFilePath = file('adblockplussbrowser/res/raw/easylist.txt').absolute Path 31 easyListFilePath = file('adblockplussbrowser/res/raw/easylist.txt').absolute Path
27 exceptionRulesFilePath = file('adblockplussbrowser/res/raw/exceptionrules.tx t').absolutePath 32 exceptionRulesFilePath = file('adblockplussbrowser/res/raw/exceptionrules.tx t').absolutePath
28 } 33 }
OLDNEW
« no previous file with comments | « adblockplussbrowser/build.gradle ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld