Skip to content

Commit

Permalink
clean up some build config
Browse files Browse the repository at this point in the history
  • Loading branch information
rcgroot committed Mar 13, 2017
1 parent 03a3cb3 commit 2c76950
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 17 deletions.
10 changes: 3 additions & 7 deletions studio/app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
apply plugin: 'com.android.application'
apply plugin: 'jacoco'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-kapt'
apply plugin: 'com.vanniktech.android.junit.jacoco'

junitJacoco {
jacocoVersion = jacocoVersion
jacoco {
toolVersion = jacocoVersion
}

android {
Expand Down Expand Up @@ -61,10 +61,6 @@ android {
enabled = true
}

kapt {
generateStubs = true
}

lintOptions {
disable 'InvalidPackage'
abortOnError false
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class ContentController(val context: Context, val listener: ContentListener) {
fun unregister() {
if (registeredUri != null) {
context.contentResolver.unregisterContentObserver(contentObserver)
registeredUri = null4§
registeredUri = null
}
}

Expand Down
7 changes: 0 additions & 7 deletions studio/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,17 @@ buildscript {

repositories {
jcenter()
maven {
url 'https://dl.bintray.com/kotlin/kotlin-eap'
}
}
dependencies {
classpath "com.android.tools.build:gradle:$rootProject.gradlePluginVersion"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$rootProject.kotlinVersion"
classpath "com.vanniktech:gradle-android-junit-jacoco-plugin:$rootProject.jacocoPluginVersion"
classpath "com.google.gms:google-services:$rootProject.googleServicesVersion"
}
}

allprojects {
repositories {
jcenter()
maven {
url 'https://dl.bintray.com/kotlin/kotlin-eap'
}
}
}

Expand Down
3 changes: 1 addition & 2 deletions studio/versions.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ ext {
googleServicesVersion = '3.0.0'

// Testing
jacocoPluginVersion = '0.5.0'
jacocoVersion = '0.7.8'
jacocoVersion = '0.7.9'
junitVersion = '4.12'
mockitoVersion = '2.2.20'
testRunnerVersion = '0.5'
Expand Down

0 comments on commit 2c76950

Please sign in to comment.