Can build abs: could not find method spotless()

Hi,

after pulling latest updates in abs project, build falis with the following error:

Could not find method spotless() for arguments [build_5ehxw4t3xrc4wo0zhume5bdk2$_run_closure2@7dce56c0] on project ‘:modules:axelor-production’ of type org.gradle.api.Project.

Moving build.gradle out of the way in axelor-produciton does not solve the problem, the same error appears in axelor-project.

Any idea of the source of the problem ?

Thanks in advance,
Franck

Hi,

From which repository you fetch the code, Master ?
Check that in your build.gradle file inside the ABS dir (not the module dir) your have

apply plugin: "com.diffplug.gradle.spotless"

Check here: https://github.com/axelor/abs-webapp/blob/master/build.gradle

Regards

@alci if you have you own fork or clone of abs-webapp, please integrate the changes on build.gradle file from https://github.com/axelor/abs-webapp/commit/cdf760001832bb9ac0d707c87d08db7d59c0aea3#diff-c197962302397baf3a4cc36463dce5ea

1 « J'aime »

Thanks, this did the trick !

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.