@nxrocks/nx-spring-boot
Version:
Nx Plugin to generate, run, package, build (and more) Spring Boot projects inside your Nx workspace
13 lines • 667 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.addFormattingWithSpotless = addFormattingWithSpotless;
const common_jvm_1 = require("@nxrocks/common-jvm");
function addFormattingWithSpotless(tree, options) {
if (options.buildSystem === 'maven-project') {
(0, common_jvm_1.addSpotlessMavenPlugin)(tree, options.projectRoot, options.language, +options.javaVersion);
}
else {
(0, common_jvm_1.addSpotlessGradlePlugin)(tree, options.projectRoot, options.language, +options.javaVersion, null, options.buildSystem === 'gradle-project-kotlin');
}
}
//# sourceMappingURL=add-formatting-with-spotless.js.map