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

Unified 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.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « adblockplussbrowser/build.gradle ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build.gradle
===================================================================
--- a/build.gradle
+++ b/build.gradle
@@ -1,20 +1,25 @@
buildscript {
+ // buildscript block is evaluated at the very beginning. Properties defined in the ext block
+ // don't exist at that time.
+ ext.kotlinVersion = '1.1.51'
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion"
}
}
allprojects {
repositories {
jcenter()
+ mavenCentral()
}
}
ext {
minSdkVersion = 21
targetSdkVersion = 25
compileSdkVersion = 25
buildToolsVersion = '25.0.3'
« 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