Created
March 6, 2011 01:44
-
-
Save shemnon/856936 to your computer and use it in GitHub Desktop.
Add the idea plugin to every single build script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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