More modifications for SDK 21 build

This commit is contained in:
Bradlee Speice 2014-11-23 22:51:39 -05:00
parent d94b8b45c7
commit 61dc8fec9d
2 changed files with 4 additions and 1 deletions

View File

@ -3,7 +3,8 @@ language: android
android: android:
components: components:
- build-tools-21.1.1 - build-tools-21.1.1
# Don't have any other tools so far, robolectric covers pretty much everything... - android-21
- extra-android-support
script: script:
- ./gradlew test - ./gradlew test

View File

@ -7,6 +7,8 @@ buildscript {
mavenCentral() mavenCentral()
} }
dependencies { dependencies {
// Version lock the gradle plugin because Kotlin only works with up to 14.2
// KT-6181 is open to track this issue
classpath 'com.android.tools.build:gradle:0.14.2' classpath 'com.android.tools.build:gradle:0.14.2'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong