Skip to content

Commit

Permalink
Workaround for pass the test
Browse files Browse the repository at this point in the history
  • Loading branch information
mapyo committed Nov 5, 2017
1 parent 9eef9bb commit 8ca4fb1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions rxandroidble/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,20 @@ android {
preBuild.dependsOn 'checkstyle'
}

// Workaround until groovy-android-gradle-plugin 1.3.0 is released
tasks.whenTaskAdded { task ->
if (task.name.contains('UnitTestGroovyWithGroovyc')) {
task.doFirst {
['debug','release'].each {
def dir = file("build/generated/source/apt/test/$it")
if(!dir.isDirectory()){
dir.mkdirs()
}
}
}
}
}

dependencies {
compile rootProject.ext.libs.rxjava
compile rootProject.ext.libs.rxrelay
Expand Down

0 comments on commit 8ca4fb1

Please sign in to comment.