diff options
author | Ben Gruver <bgruv@google.com> | 2016-07-09 13:42:15 -0700 |
---|---|---|
committer | Ben Gruver <bgruv@google.com> | 2016-07-09 13:42:15 -0700 |
commit | 07dc76c03f5409dda8ec1f9c36ffbc8546bbbf14 (patch) | |
tree | 012f9a25875d575a45517c3911752c4f707cfca8 /smali | |
parent | 6c6b9f0845e32ee841b267395bdf77fa9217e83b (diff) | |
download | smali-07dc76c03f5409dda8ec1f9c36ffbc8546bbbf14.tar.gz |
Switch to jprante's jflex plugin
Diffstat (limited to 'smali')
-rw-r--r-- | smali/build.gradle | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/smali/build.gradle b/smali/build.gradle index 75001d73..318b5a97 100644 --- a/smali/build.gradle +++ b/smali/build.gradle @@ -30,7 +30,7 @@ */ apply plugin: 'antlr' -apply plugin: 'jflex' +apply plugin: 'org.xbib.gradle.plugin.jflex' buildscript { repositories { @@ -46,10 +46,6 @@ configurations { // Remove the full antlr library that's added by the antlr plugin. We manually // add the smaller antlr_runtime library instead compile.exclude group: 'org.antlr', module: 'antlr' - - // The jflex lexer doesn't have any runtime dependencies, so remove the dependency - // that gets added by the jflex plugin - compile.exclude group: 'de.jflex', module: 'jflex' } sourceSets { @@ -86,7 +82,6 @@ dependencies { testCompile depends.junit antlr depends.antlr - jflex depends.jflex } processResources.inputs.property('version', version) @@ -119,8 +114,8 @@ generateGrammarSource { outputDirectory = new File(outputDirectory, 'org/jf/smali') } -generateJFlexSource { - outputDirectory = new File(outputDirectory, 'org/jf/smali') +jflex { + generateDir = new File(generateDir, 'org/jf/smali') } uploadArchives { |