File tree Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Expand file tree Collapse file tree 2 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -49,7 +49,9 @@ public AbstractRife2Build()
49
49
new File (workDirectory (), "embedded_dbs" ),
50
50
new File (workDirectory (), "logs" ));
51
51
52
+ buildGeneratedDir = new File (buildDirectory (), "generated" );
52
53
antlr4Operation
54
+ .outputDirectory (new File (buildGeneratedDir , "rife/template/antlr" ))
53
55
.visitor ()
54
56
.longMessages ();
55
57
@@ -72,6 +74,8 @@ public AbstractRife2Build()
72
74
.link ("https://jsoup.org/apidocs/" );
73
75
}
74
76
77
+ final File buildGeneratedDir ;
78
+
75
79
void propagateJavaProperties (JavaOptions options , String ... names ) {
76
80
for (var name : names ) {
77
81
if (properties ().contains (name )) {
Original file line number Diff line number Diff line change @@ -21,10 +21,8 @@ public CoreBuild()
21
21
22
22
version = VersionNumber .parse (FileUtils .readString (new File (srcMainResourcesDirectory (), "CORE_VERSION" )));
23
23
24
- buildGeneratedDir = new File (buildDirectory (), "generated" );
25
24
antlr4Operation
26
- .sourceDirectories (List .of (new File (srcMainDirectory (), "antlr" )))
27
- .outputDirectory (new File (buildGeneratedDir , "rife/template/antlr" ));
25
+ .sourceDirectories (List .of (new File (srcMainDirectory (), "antlr" )));
28
26
29
27
precompileOperation ()
30
28
.templateTypes (HTML , XML , SQL );
@@ -67,8 +65,7 @@ public CoreBuild()
67
65
.signPassphrase (property ("sign.passphrase" )));
68
66
}
69
67
70
- private final File buildGeneratedDir ;
71
- private final File srcMainModuleDir ;
68
+ final File srcMainModuleDir ;
72
69
73
70
@ Override
74
71
public void javadoc ()
You can’t perform that action at this time.
0 commit comments