Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
apply plugin: 'java'
apply plugin: 'idea'
configurations {
provided
}
idea.module {
scopes.PROVIDED.plus += configurations.provided
}
sourceSets {
main.compileClasspath += configurations.provided
test.compileClasspath += configurations.provided
test.runtimeClasspath += configurations.provided
}
dependencies {
provided 'com.google.android:android:4.0.1.2'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment