Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Can't enable Probe in build.gradle #17

Open
spark85 opened this issue Apr 16, 2015 · 1 comment
Open

Can't enable Probe in build.gradle #17

spark85 opened this issue Apr 16, 2015 · 1 comment

Comments

@spark85
Copy link

spark85 commented Apr 16, 2015

I've added this to my build.gradle file; but when I try running assembleProbeDebug in the gradle logs I see that probe is disabled; when I run my code it is in fact disabled.

productFlavors {
probe {
buildVariants {
debug {
enabled true
}
}
}

}
@cpoopc
Copy link

cpoopc commented Jun 12, 2015

you should add buildscript dependency like this:

buildscript {
    repositories {
//       mavenCentral()
//       ...
    }
    dependencies {
//       classpath 'com.android.tools.build:gradle:1.0.0'
//       ... 
      classpath 'org.lucasr.probe:gradle-plugin:0.1.3'
    }
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants