Skip to content

Instantly share code, notes, and snippets.

@Piasy
Created March 10, 2016 15:32
Show Gist options
  • Save Piasy/012a90a37cd135c1c922 to your computer and use it in GitHub Desktop.
Save Piasy/012a90a37cd135c1c922 to your computer and use it in GitHub Desktop.
AndroidTDDBootStrap-Use-OkBuck-2
...
buildscript {
...
dependencies {
...
classpath "com.github.piasy:okbuck-gradle-plugin:1.0.0-beta8"
}
}
...
apply plugin: 'com.github.piasy.okbuck-gradle-plugin'
okbuck {
target "android-23"
overwrite true
resPackages = [
'base' : 'com.github.piasy.base',
'model' : 'com.github.piasy.model',
'app' : 'com.github.piasy.app',
'testbase': 'com.github.piasy.base.test',
]
}
...
apply plugin: 'com.github.piasy.okbuck-gradle-plugin'
okbuck {
target "android-23"
overwrite true
resPackages = [
'base' : 'com.github.piasy.base',
'model' : 'com.github.piasy.model',
'app' : 'com.github.piasy.app',
'testbase': 'com.github.piasy.base.test',
]
linearAllocHardLimit = [
app: 7194304
]
primaryDexPatterns = [
app: [
'^com/github/piasy/app/BootstrapApp^',
]
]
}
* What went wrong:
Execution failed for task ':okbuck'.
> AndroidBinaryRule primaryDexPatterns must be non-null.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment