Skip to content

Instantly share code, notes, and snippets.

@shemnon
Created March 6, 2011 01:44
Show Gist options
  • Save shemnon/856936 to your computer and use it in GitHub Desktop.
Save shemnon/856936 to your computer and use it in GitHub Desktop.
Add the idea plugin to every single build script
# add to ~/.gradle/initscript.gradle
addListener(new ArtifactoryGradleSettings())
class ArtifactoryGradleSettings extends BuildAdapter implements BuildListener {
def void projectsLoaded(Gradle gradle) {
Project root = gradle.getRootProject()
root.allprojects {
apply plugin: 'idea'
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment