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

Unified Diff: adblockplussbrowser/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 | « no previous file | build.gradle » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: adblockplussbrowser/build.gradle
===================================================================
--- a/adblockplussbrowser/build.gradle
+++ b/adblockplussbrowser/build.gradle
@@ -1,9 +1,10 @@
apply plugin: 'com.android.application'
+apply plugin: 'kotlin-android'
android {
compileSdkVersion rootProject.ext.compileSdkVersion
buildToolsVersion rootProject.ext.buildToolsVersion
compileOptions {
sourceCompatibility = rootProject.ext.sourceCompatibilityVersion
targetCompatibility = rootProject.ext.targetCompatibilityVersion
@@ -48,13 +49,14 @@ def updateBundledLists() {
i -> new File(rootProject.ext.easyListFilePath).withOutputStream { it << i }
}
new URL(rootProject.ext.exceptionRulesUpdateUrl).withInputStream {
i -> new File(rootProject.ext.exceptionRulesFilePath).withOutputStream { it << i }
}
}
dependencies {
+ testCompile "org.jetbrains.kotlin:kotlin-stdlib-jre7:$kotlinVersion"
compile "com.android.support:support-v4:$rootProject.ext.androidSupportLibraryVersion"
compile (group: 'commons-validator', name: 'commons-validator', version: '+') {
exclude group: 'commons-logging', module: 'commons-logging'
}
}
« no previous file with comments | « no previous file | build.gradle » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld