File tree Expand file tree Collapse file tree 1 file changed +1
-27
lines changed
Expand file tree Collapse file tree 1 file changed +1
-27
lines changed Original file line number Diff line number Diff line change @@ -20,40 +20,14 @@ versions {
2020 ))
2121}
2222
23- sourceSets {
24- main {
25- java {
26- srcDir(tasks.named(" generateGrammarSource" ))
27- }
28- }
29-
30- test {
31- java {
32- srcDir(tasks.named(" generateTestGrammarSource" ))
33- }
34- // groovy {
35- // srcDir(tasks.named("compileKotlin"))
36- // srcDir(tasks.named("compileTestKotlin"))
37- // }
38- }
39-
40- testInt {
41- java {
42- srcDir(tasks.named(" generateTestIntGrammarSource" ))
43- }
44- }
45- }
46-
4723tasks.compileTestGroovy {
4824 classpath + = sourceSets.main.get().compileClasspath
4925 classpath + = files(tasks.compileKotlin.get().destinationDirectory)
5026 classpath + = files(tasks.compileTestKotlin.get().destinationDirectory)
5127}
5228
5329tasks.named<AntlrTask >(" generateGrammarSource" ) {
54- val antlrPkg = " io.openapiprocessor.core.processor.mapping.v2.parser.antlr"
55- arguments = arguments + listOf (" -package" , antlrPkg)
56- outputDirectory = layout.buildDirectory.dir(" antlr/${antlrPkg.replace(' .' , ' /' )} " ).get().asFile
30+ packageName = " io.openapiprocessor.core.processor.mapping.v2.parser.antlr"
5731}
5832
5933repositories {
You can’t perform that action at this time.
0 commit comments