Created
May 15, 2017 13:14
-
-
Save ismits/20a4904966d153b3cae2dd6a11baa4d6 to your computer and use it in GitHub Desktop.
Load Ant jobs
This file contains 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
final Configuration antlrConfiguration = project.getConfigurations().create(ANTLR_CONFIGURATION_NAME) | |
.setVisible(false) | |
.setDescription("The Antlr libraries to be used for this project.") | |
antlrConfiguration.defaultDependencies(new Action<DependencySet>() { | |
@Override | |
public void execute(DependencySet dependencies) { | |
dependencies.add(project.getDependencies().create("antlr:antlr:2.7.7@jar")) | |
} | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment