You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Creates a default {@link Options} instance configuring a default output folder based on the detected build tool (see {@link Options#DEFAULT_LOCATION}).
1299
+
* Use {@link #withOutputFolder(String)} if you want to customize the output folder.
1300
+
* Per default the output folder is wiped before any files are written to it.
1301
+
* Use {@link #withoutClean()} to disable cleaning of the output folder.
1302
+
*
1303
+
* @return will never be {@literal null}.
1304
+
* @see #withoutClean()
1305
+
* @see #withOutputFolder(String)
1306
+
*/
1292
1307
publicstaticOptionsdefaults() {
1293
1308
returnnewOptions(DEFAULT_LOCATION, true);
1294
1309
}
1295
1310
1311
+
/**
1312
+
* Disables the cleaning of the output folder before any file is written.
1313
+
*
1314
+
* @return will never be {@literal null}.
1315
+
*/
1296
1316
publicOptionswithoutClean() {
1297
1317
returnnewOptions(outputFolder, false);
1298
1318
}
1299
1319
1320
+
/**
1321
+
* Configures the output folder for the created files.
1322
+
* The given directory is wiped before any files are written to it.
1323
+
*
1324
+
* @param folder if null the default location based on the detected build tool will be used (see {@link Options#DEFAULT_LOCATION}).
1325
+
* The given folder will be created if it does not exist already. Existing folders are supported as well.
0 commit comments