Skip to content

Instantly share code, notes, and snippets.

@tleyden
Created January 31, 2014 23:56
Show Gist options
  • Save tleyden/8745755 to your computer and use it in GitHub Desktop.
Save tleyden/8745755 to your computer and use it in GitHub Desktop.
build.gradle:
dependencies {
compile 'com.android.support:appcompat-v7:+'
compile project(':libraries:stubworld-corelib-sqlite4java')
compile project(':libraries:stubworld-corelib-android') {
exclude module: ':libraries:stubworld-corelib-android:libraries:stubworld-corelib-java'
}
}
error:
hornet: stubworld-app-android-hybrid$ ./gradlew build
FAILURE: Build failed with an exception.
* Where:
Build file '/Users/traun/Development/stubworld/stubworld-app-android-hybrid/app/build.gradle' line: 25
* What went wrong:
A problem occurred evaluating project ':app'.
> Could not find method exclude() for arguments [{module=:libraries:stubworld-corelib-android:libraries:stubworld-corelib-java}] on project ':libraries:stubworld-corelib-android'.
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 4.883 secs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment