Added antlr task dependencies.
This commit is contained in:
parent
58d7641ece
commit
f0b133bb22
@ -90,6 +90,7 @@ groowtAntlr {
|
||||
}
|
||||
|
||||
tasks.named('generateWebViewComponentsLexerBase', GroowtAntlrExecTask) { task ->
|
||||
dependsOn('generateLexerFragments')
|
||||
doLast {
|
||||
def pattern = ~/public class WebViewComponentsLexerBase(.*)/
|
||||
def lexerSource = task.resolveOutputFile 'WebViewComponentsLexerBase.java'
|
||||
@ -105,6 +106,10 @@ tasks.named('generateWebViewComponentsLexerBase', GroowtAntlrExecTask) { task ->
|
||||
}
|
||||
}
|
||||
|
||||
tasks.named('generateWebViewComponentsParser', GroowtAntlrExecTask) {
|
||||
dependsOn('generateWebViewComponentsLexerBase')
|
||||
}
|
||||
|
||||
tasks.named({ String name ->
|
||||
name in ['compileJava', 'compileGroovy', 'compileKotlin']
|
||||
} as Spec<String>).configureEach {
|
||||
|
Loading…
Reference in New Issue
Block a user